Skip to content

phpMyAdmin Remote Code Execution

High severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Aug 29, 2023

Package

composer phpmyadmin/phpmyadmin (Composer)

Affected versions

>= 3.5.0, < 3.5.8.1

Patched versions

3.5.8.1

Description

phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote authenticated users to execute arbitrary code by using a double extension in the filename of an export file, leading to interpretation of this file as an executable file by the Apache HTTP Server, as demonstrated by a .php.sql filename.

References

Published by the National Vulnerability Database Apr 26, 2013
Published to the GitHub Advisory Database May 17, 2022
Reviewed Aug 29, 2023
Last updated Aug 29, 2023

Severity

High
8.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2013-3239

GHSA ID

GHSA-gg36-9346-9qx9

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.