CVE-2009-1151: phpMyAdmin Remote Code Execution Vulnerability

Published Mar 26, 2009
·
Updated

Setup script used to generate configuration can be fooled using a crafted POST request to include arbitrary PHP code in generated configuration file.

Other sources

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.

Affected Software

46 affected components
phpMyAdmin phpMyAdmin
phpMyAdmin phpMyAdmin=2.11.4
phpMyAdmin phpMyAdmin=2.11.1.2
phpMyAdmin phpMyAdmin=2.11.5.1
phpMyAdmin phpMyAdmin=2.11.1
phpMyAdmin phpMyAdmin=2.11.5.0
phpMyAdmin phpMyAdmin=3.1.2
phpMyAdmin phpMyAdmin=2.11.9.0
phpMyAdmin phpMyAdmin=2.11.9.1
phpMyAdmin phpMyAdmin=2.11.0-beta1
phpMyAdmin phpMyAdmin=2.11.2
phpMyAdmin phpMyAdmin=2.11.7
phpMyAdmin phpMyAdmin=3.1.0
phpMyAdmin phpMyAdmin=2.11.5
phpMyAdmin phpMyAdmin=2.11.5.2
phpMyAdmin phpMyAdmin=2.11.2.2
phpMyAdmin phpMyAdmin=2.11.1-rc1
phpMyAdmin phpMyAdmin=2.11.5-rc1
phpMyAdmin phpMyAdmin=2.11.8
phpMyAdmin phpMyAdmin=2.11.3
phpMyAdmin phpMyAdmin=2.11.2.1
phpMyAdmin phpMyAdmin=3.1.1-rc1
phpMyAdmin phpMyAdmin=2.11.3-rc1
phpMyAdmin phpMyAdmin=2.11.0-rc1
phpMyAdmin phpMyAdmin=3.1.1
phpMyAdmin phpMyAdmin=2.11.6.0
phpMyAdmin phpMyAdmin=2.11.7.0
phpMyAdmin phpMyAdmin=3.1.3-rc1
phpMyAdmin phpMyAdmin=2.11.2.0
phpMyAdmin phpMyAdmin=2.11.9.2
phpMyAdmin phpMyAdmin=2.11.9.3
phpMyAdmin phpMyAdmin=2.11.4-rc1
phpMyAdmin phpMyAdmin=2.11.1.1
phpMyAdmin phpMyAdmin=2.11.6
phpMyAdmin phpMyAdmin=2.11.9
phpMyAdmin phpMyAdmin=2.11.9.4
phpMyAdmin phpMyAdmin=2.11.3.0
phpMyAdmin phpMyAdmin=3.1.2-rc1
phpMyAdmin phpMyAdmin<=3.1.3
phpMyAdmin phpMyAdmin=2.11.6-rc1
phpMyAdmin phpMyAdmin=2.11.1.0
phpMyAdmin phpMyAdmin=2.11.0
phpMyAdmin phpMyAdmin>=2.11.0<2.11.9.5
phpMyAdmin phpMyAdmin>=3.0.0<3.1.3.1
Debian Debian Linux=4.0
Debian Debian Linux=5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade phpMyAdmin to a version that resolves this vulnerability.

    Fixed in 2.11.9.5
  2. Upgrade

    Upgrade phpMyAdmin to a version that resolves this vulnerability.

    Fixed in 3.1.3.1

Event History

Mar 26, 2009
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:30 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 25, 2022
Known Exploited
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-1151?

CVE-2009-1151 is classified as a medium severity vulnerability that allows arbitrary PHP code injection in affected versions of phpMyAdmin.

2

How do I fix CVE-2009-1151?

To fix CVE-2009-1151, upgrade to phpMyAdmin version 2.11.9.5 or later, or 3.1.3.1 or later.

3

What versions of phpMyAdmin are affected by CVE-2009-1151?

CVE-2009-1151 affects phpMyAdmin versions 2.11.0 through 2.11.9.4 and 3.0.0 through 3.1.3.

4

How can CVE-2009-1151 be exploited?

CVE-2009-1151 can be exploited by sending a crafted POST request to the setup script, allowing attackers to inject arbitrary PHP code.

5

Is there a patch available for CVE-2009-1151?

Yes, the developers released updates for phpMyAdmin that address CVE-2009-1151, resolving the code injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203