phpMyAdmin up to 3.1.3 Configuration File setup.php code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in phpMyAdmin. The impacted element is an unknown function of the file setup.php of the component Configuration File. Executing a manipulation can lead to code injection. This vulnerability is tracked as CVE-2009-1151. Moreover, an exploit is present. Upgrading the affected component is advised.
Details
A vulnerability has been found in phpMyAdmin (Database Administration Software) and classified as critical. This vulnerability affects an unknown function of the file setup.php of the component Configuration File. The manipulation with an unknown input leads to a code injection vulnerability. The CWE definition for the vulnerability is CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was disclosed 03/26/2009 by Adrian "pagvac" Pastor (Website). The advisory is available at phpmyadmin.net. This vulnerability was named CVE-2009-1151 since 03/26/2009. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. This vulnerability is assigned to T1059 by the MITRE ATT&CK project.
A public exploit has been developed by Adrian "pagvac" Pastor in Shell File and been published 3 months after the advisory. It is possible to download the exploit at securityfocus.com. It is declared as attacked. As 0-day the estimated underground price was around $5k-$25k. By approaching the search of inurl:setup.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 36012 (FreeBSD : phpmyadmin -- insufficient output sanitizing when generating configuration file (06f9174f-190f-11de-b2f0-001c2514716c)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12770 (phpMyAdmin Multiple Vulnerabilities (PMASA-2009-2,PMASA-2009-3)). This issue was added on 03/25/2022 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 04/15/2022:
Apply updates per vendor instructions.Upgrading to version 2.11.9.3 eliminates this vulnerability. Attack attempts may be identified with Snort ID 2281. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 8254.
The vulnerability is also documented in the databases at X-Force (49449), Exploit-DB (8921), Tenable (36012), SecurityFocus (BID 34236†) and Secunia (SA34430†). The entry VDB-47361 is pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
- 2.11.0
- 2.11.1
- 2.11.1.0
- 2.11.1.1
- 2.11.1.2
- 2.11.2
- 2.11.2.0
- 2.11.2.1
- 2.11.2.2
- 2.11.3
- 2.11.3.0
- 2.11.4
- 2.11.5
- 2.11.5.0
- 2.11.5.1
- 2.11.5.2
- 2.11.6
- 2.11.6.0
- 2.11.7
- 2.11.7.0
- 2.11.8
- 2.11.9
- 2.11.9.0
- 2.11.9.1
- 2.11.9.2
- 2.11.9.3
- 2.11.9.4
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
License
Website
- Product: https://www.phpmyadmin.net/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.0VulDB Meta Temp Score: 8.9
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
ADP CISA Base Score: 9.8
ADP CISA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Attacked
Author: Adrian "pagvac" Pastor
Programming Language: 🔍
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 36012
Nessus Name: FreeBSD : phpmyadmin -- insufficient output sanitizing when generating configuration file (06f9174f-190f-11de-b2f0-001c2514716c)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 64312
OpenVAS Name: Debian Security Advisory DSA 1824-1 (phpmyadmin)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: phpmyadmin_config.rb
MetaSploit Name: PhpMyAdmin Config File Code Injection
MetaSploit File: 🔍
D2Sec: Phpmyadmin File Upload
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: phpMyAdmin 2.11.9.3
Snort ID: 2281
Snort Message: SERVER-WEBAPP Setup.php access
Snort Class: 🔍
Suricata ID: 2009709
Suricata Class: 🔍
Suricata Message: 🔍
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
SourceFire IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍
Timeline
03/25/2009 🔍03/25/2009 🔍
03/25/2009 🔍
03/25/2009 🔍
03/26/2009 🔍
03/26/2009 🔍
03/26/2009 🔍
03/31/2009 🔍
06/09/2009 🔍
06/09/2009 🔍
03/17/2015 🔍
04/22/2026 🔍
Sources
Product: phpmyadmin.netAdvisory: phpmyadmin.net
Researcher: Adrian "pagvac" Pastor
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2009-1151 (🔍)
GCVE (CVE): GCVE-0-2009-1151
GCVE (VulDB): GCVE-100-47362
OVAL: 🔍
X-Force: 49449
SecurityFocus: 34236 - phpMyAdmin 'setup.php' PHP Code Injection Vulnerability
Secunia: 34430 - phpMyAdmin Multiple Vulnerabilities, Less Critical
Vulnerability Center: 21430 - phpMyAdmin 2.11-2.11.9.4 and 3-3.1.3.0 setup.php Remote PHP Code Injection Vulnerability, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/17/2015 23:38Updated: 04/22/2026 04:09
Changes: 03/17/2015 23:38 (83), 01/29/2018 16:09 (23), 08/09/2021 09:54 (3), 04/24/2024 07:54 (23), 07/16/2024 22:38 (12), 09/09/2024 22:29 (1), 04/22/2026 04:09 (11)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.