CVE-2011-4634
Description
Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.4.x before 3.4.8 allow remote attackers to inject arbitrary web script or HTML via (1) a crafted database name, related to the Database Synchronize panel; (2) a crafted database name, related to the Database rename panel; (3) a crafted SQL query, related to the table overview panel; (4) a crafted SQL query, related to the view creation dialog; (5) a crafted column type, related to the table search dialog; or (6) a crafted column type, related to the create index dialog.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
phpMyAdmin 3.4.x before 3.4.8 contains multiple XSS vulnerabilities via crafted database names, SQL queries, or column types in various panels.
Vulnerability
phpMyAdmin versions 3.4.x prior to 3.4.8 are affected by multiple cross-site scripting (XSS) vulnerabilities, as detailed in [1]. The bugs allow injection of arbitrary web script or HTML via six distinct vectors involving crafted input: (1) a database name processed by the Database Synchronize panel; (2) a database name in the Database rename panel; (3) an SQL query in the table overview panel; (4) an SQL query in the view creation dialog; (5) a column type in the table search dialog; and (6) a column type in the create index dialog [1][2][3][4]. The vulnerable code path is reachable when an authenticated user interacts with the affected panels and supplies unsanitized input.
Exploitation
To exploit any of these vulnerabilities, an attacker requires an authenticated session in phpMyAdmin. The attacker must craft a malicious payload (e.g., containing script tags) that is embedded in a database name, SQL query string, or column type field. When the victim user views or interacts with the corresponding panel (database synchronization, rename, table overview, view creation, table search, or index creation), the injected script executes in the context of the victim's browser session [1]. No additional privileges or special network positions are required beyond authentication.
Impact
Successful exploitation allows the attacker to inject arbitrary web script or HTML, leading to potential disclosure of sensitive session data, manipulation of page content, or redirection to malicious sites. The impact is constrained to the authenticated user's session and browser context; however, an attacker could potentially steal session cookies or perform actions on behalf of the victim within phpMyAdmin [1].
Mitigation
The fix is included in phpMyAdmin version 3.4.8, released on 2011-11-22 [1][2][3][4]. Users should upgrade to 3.4.8 or later. There is no workaround published for versions prior to 3.4.8; as of the publication date (2011-12-22), no KEV listing has been reported.
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phpmyadmin/phpmyadminPackagist | >= 3.4.0, < 3.4.8 | 3.4.8 |
Affected products
13cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.0.0:*:*:*:*:*:*:*+ 10 more
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.4.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.4.7.0:*:*:*:*:*:*:*
- (no CPE)range: <3.4.8
- ghsa-coords2 versions
>= 3.4.0, < 3.4.8+ 1 more
- (no CPE)range: >= 3.4.0, < 3.4.8
- (no CPE)range: < 4.6.5.2-1.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
13- www.phpmyadmin.net/home_page/security/PMASA-2011-18.phpnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-9j9h-cpgc-8356ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2011-4634ghsaADVISORY
- lists.fedoraproject.org/pipermail/package-announce/2011-December/071040.htmlnvdWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cginvdWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cginvdWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cginvdWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cginvdWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cgighsaWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cgighsaWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cgighsaWEB
- phpmyadmin.git.sourceforge.net/git/gitweb.cgighsaWEB
- www.mandriva.com/security/advisoriesnvdWEB
News mentions
0No linked articles in our index yet.