CVE-2009-3696: Phpmyadmin/phpmyadmin Cross-Site Scripting Vulnerability
MODERATECVE-2009-3696 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin cross-site scripting in mysql table name. Remediation is available by upgrading affected packages to version 2.11.9.6, 3.2.2.1.
CVE-2009-3696 at a Glance
How to Fix CVE-2009-3696
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 2.11.9.6
Upgrade phpmyadmin/phpmyadmin to 3.2.2.1
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-2009-3696, 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 2.11.9.6), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. 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-2009-3696 Affected Phpmyadmin/phpmyadmin Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpmyadmin/phpmyadmin
|
Packagist |
≥ 2.11.0
< 2.11.9.6
|
2.11.9.6
|
|
phpmyadmin/phpmyadmin
|
Packagist |
≥ 3.0.0
< 3.2.2.1
|
3.2.2.1
|
References
Frequently Asked Questions
What is CVE-2009-3696?
Which Phpmyadmin/phpmyadmin versions are affected?
What version fixes CVE-2009-3696?
Is phpmyadmin/phpmyadmin affected?
What CWE is associated with CVE-2009-3696?
How can I check Packagist dependencies for CVE-2009-3696?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5pvv-f8h3-gw96",
"modified" : "2024-02-08T22:02:35Z",
"published" : "2022-05-02T03:47:43Z",
"aliases" : [ "CVE-2009-3696" ],
"summary" : "phpMyAdmin Cross-site Scripting In MySQL Table Name",
"details" : "Cross-site scripting (XSS) vulnerability in phpMyAdmin 2.11.x before 2.11.9.6 and 3.x before 3.2.2.1 allows remote attackers to inject arbitrary web script or HTML via a crafted name for a MySQL table.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpmyadmin/phpmyadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.11.0"
}, {
"fixed" : "2.11.9.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpmyadmin/phpmyadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.2.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-3696"
}, {
"type" : "WEB",
"url" : "https://github.com/phpmyadmin/phpmyadmin/commit/212daad0c082dfb853e3a4098838781a96b2ce1f"
}, {
"type" : "WEB",
"url" : "https://github.com/phpmyadmin/phpmyadmin/commit/8ec5434999724f61d7df1f9b0b13545274c78b1e"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=528769"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/53742"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpmyadmin/phpmyadmin"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228173112/http://www.securityfocus.com/bid/36658"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00467.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00490.html"
}, {
"type" : "WEB",
"url" : "http://bugs.gentoo.org/show_bug.cgi?id=288899"
}, {
"type" : "WEB",
"url" : "http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/2.11.9.6/phpMyAdmin-2.11.9.6-notes.html"
}, {
"type" : "WEB",
"url" : "http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.2.2.1/phpMyAdmin-3.2.2.1-notes.html"
}, {
"type" : "WEB",
"url" : "http://freshmeat.net/projects/phpmyadmin/releases/306667"
}, {
"type" : "WEB",
"url" : "http://freshmeat.net/projects/phpmyadmin/releases/306669"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=oss-security&m=125553728512853&w=2"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=oss-security&m=125561979001460&w=2"
}, {
"type" : "WEB",
"url" : "http://typo3.org/extensions/repository/view/phpmyadmin/4.5.0"
}, {
"type" : "WEB",
"url" : "http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-015"
}, {
"type" : "WEB",
"url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2009:274"
}, {
"type" : "WEB",
"url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2009-6.php"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-08T22:02:34Z",
"nvd_published_at" : "2009-10-16T16:30:00Z"
}
}