CVE-2011-2508: Phpmyadmin/phpmyadmin Path Traversal Vulnerability
HIGHCVE-2011-2508 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin directory traversal vulnerability. Remediation is available by upgrading affected packages to version 3.4.3.1, 3.3.10.2.
CVE-2011-2508 at a Glance
How to Fix CVE-2011-2508
To remediate this vulnerability, upgrade all affected Phpmyadmin/phpmyadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpmyadmin/phpmyadmin to 3.4.3.1
Upgrade phpmyadmin/phpmyadmin to 3.3.10.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpmyadmin/phpmyadmin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-2508, inspect your project dependencies for Phpmyadmin/phpmyadmin:
inspect dependencies for phpmyadmin/phpmyadmin
Analyze the terminal output to locate any version of Phpmyadmin/phpmyadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Phpmyadmin/phpmyadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-2508 Affected Phpmyadmin/phpmyadmin Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpmyadmin/phpmyadmin
|
Packagist |
≥ 3.4.0
< 3.4.3.1
|
3.4.3.1
|
|
phpmyadmin/phpmyadmin
|
Packagist |
≥ 3.3.0
< 3.3.10.2
|
3.3.10.2
|
References
Frequently Asked Questions
What is CVE-2011-2508?
Which Phpmyadmin/phpmyadmin versions are affected?
What version fixes CVE-2011-2508?
Is phpmyadmin/phpmyadmin affected?
What CWE is associated with CVE-2011-2508?
How can I check Packagist dependencies for CVE-2011-2508?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q6vw-39cg-wjjf",
"modified" : "2025-04-12T01:54:52Z",
"published" : "2022-05-14T02:55:16Z",
"aliases" : [ "CVE-2011-2508" ],
"summary" : "phpMyAdmin Directory Traversal vulnerability",
"details" : "Directory traversal vulnerability in libraries/display_tbl.lib.php in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1, when a certain MIME transformation feature is enabled, allows remote authenticated users to include and execute arbitrary local files via a .. (dot dot) in a GLOBALS[mime_map][$meta->name][transformation] parameter.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpmyadmin/phpmyadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpmyadmin/phpmyadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-2508"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpmyadmin/phpmyadmin"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111109175131/http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111217070727/http://www.securityfocus.com/archive/1/518804/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111217173735/http://securityreason.com/securityalert/8306"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20250218012437/http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html"
}, {
"type" : "WEB",
"url" : "http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html"
}, {
"type" : "WEB",
"url" : "http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin%3Ba=commit%3Bh=b434320eff8ca9c2fc1b043c1804f868341af9a7"
}, {
"type" : "WEB",
"url" : "http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=b434320eff8ca9c2fc1b043c1804f868341af9a7"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2011/dsa-2286"
}, {
"type" : "WEB",
"url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2011:124"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/06/28/2"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/06/28/6"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/06/28/8"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/06/29/11"
}, {
"type" : "WEB",
"url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2011-8.php"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T01:54:52Z",
"nvd_published_at" : "2011-07-14T23:55:00Z"
}
}