Setup script used to generate configuration can be fooled using a crafted POST request to include arbitrary PHP code in generated configuration file.
In short
CVE-2009-1151 (phpMyAdmin Remote Code Execution) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022. Fixed in phpMyAdmin 2.11.9.5 or later.
Description
Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- phpMyAdmin≥ 2.11.0 < 2.11.9.5 · ≥ 3.0.0 < 3.1.3.1
- Debian Linux4.0 · 5.0
Remediation
Fixed in- phpMyAdmin≥ 2.11.9.5
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301
- http://secunia.com/advisories/34430
- http://secunia.com/advisories/34642
- http://secunia.com/advisories/35585
- http://secunia.com/advisories/35635
- http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php
References
- http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301
- http://secunia.com/advisories/34430
- http://secunia.com/advisories/34642
- http://secunia.com/advisories/35585
- http://secunia.com/advisories/35635
- http://security.gentoo.org/glsa/glsa-200906-03.xml
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2009-1151
- https://www.exploit-db.com/exploits/8921
and 6 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
