CVE-2013-5029
Description
phpMyAdmin 3.5.x and 4.0.x before 4.0.5 allows remote attackers to bypass the clickjacking protection mechanism via certain vectors related to Header.class.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
phpMyAdmin 3.5.x and 4.0.x before 4.0.5 have clickjacking protection that can be bypassed, allowing UI redressing attacks.
Vulnerability
The clickjacking protection mechanisms in phpMyAdmin 3.5.x and 4.0.x prior to 4.0.5 are insufficient and can be bypassed. The protection includes X-Frame-Options: DENY headers, JavaScript frame-busting via cross_framing_protection.js, and a CSS display: none rule on the ` element. However, these measures either rely on modern browser support or can be circumvented through specific vectors related to Header.class.php. The configuration option $cfg['AllowThirdPartyFraming'] (default false`) was introduced to control framing, but the bypass exists regardless of this setting in affected versions. [1][3]
Exploitation
An attacker can craft a malicious web page that frames a phpMyAdmin instance while the victim is authenticated. The attacker must trick the victim into visiting the malicious page (e.g., via phishing or a compromised site). The exact bypass vectors are not publicly detailed but involve defeating the frame-busting JavaScript or the X-Frame-Options header in older browsers. [3]
Impact
Successful exploitation enables clickjacking attacks, where the attacker overlays invisible elements on top of the framed phpMyAdmin interface. This can trick the victim into performing unintended actions, such as executing SQL queries, modifying database objects, or changing configuration settings, potentially leading to full compromise of the database management interface and the underlying data. [3]
Mitigation
Upgrade to phpMyAdmin 4.0.5 or later. For the 3.5.x branch, no official fix is available because the proposed solution requires JavaScript, which the 3.5.x family avoids. Patches are provided in commits [1], [2], and [4]; these introduce the AllowThirdPartyFraming option (default false) and improve the frame-busting logic. Users unable to upgrade should consider restricting access to phpMyAdmin or using browser-level clickjacking protections. [3]
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 products
28cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.0.0:*:*:*:*:*:*:*+ 24 more
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.4:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.5:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.6:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.7:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.7:rc1:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.8:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.8:rc1:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyadmin:phpmyadmin:4.0.4.2:*:*:*:*:*:*:*
- (no CPE)range: 3.5.x, 4.0.x before 4.0.5
Patches
424d0eb55203b240b8332db53da4042fb6c4366fe475d4f51Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/phpmyadmin/phpmyadmin/commit/66fe475d4f51b1761719cb0cab360748800373f7nvdPatch
- github.com/phpmyadmin/phpmyadmin/commit/240b8332db53dedc27baeec5306dabad3bdece3bnvdExploitPatch
- github.com/phpmyadmin/phpmyadmin/commit/24d0eb55203b029f250c77d63f2900ffbe099e8bnvdExploitPatch
- github.com/phpmyadmin/phpmyadmin/commit/da4042fb6c4365dc8187765c3bf525043687c66fnvdExploitPatch
- secunia.com/advisories/54488nvdVendor Advisory
- www.phpmyadmin.net/home_page/security/PMASA-2013-10.phpnvdVendor Advisory
- lists.opensuse.org/opensuse-security-announce/2013-08/msg00013.htmlnvd
News mentions
0No linked articles in our index yet.