{"uuid": "3a2933bd-24c2-4868-8c7c-1e48da143ded", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2009-1151", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/phpmyadmin_config.rb", "content": "{\"aliases\": [], \"arch\": \"php\", \"author\": [\"Greg Ose\", \"pagvac\", \"egypt \", \"Tenable\", \"g0tmi1k\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a vulnerability in phpMyAdmin's setup\\n          feature which allows an attacker to inject arbitrary PHP\\n          code into a configuration file. The original advisory says\\n          the vulnerability is present in phpMyAdmin versions\\n          2.11.x &lt;= 2.11.9.4 and 3.x &lt;= 3.1.3.\\n\\n          There was a follow up vulnerability as the patch was\\n          incomplete, affecting versions 3.x &lt;= 3.1.3.1.\\n\\n          The file where our payload is written\\n          (phpMyAdmin/config/config.inc.php) is not directly used by\\n          the system, so it may be a good idea to either delete it or\\n          copy the running config (phpMyAdmin/config.inc.php) over it\\n          after successful exploitation.\", \"disclosure_date\": \"2009-03-24\", \"fullname\": \"exploit/unix/webapp/phpmyadmin_config\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:59:12 +0000\", \"name\": \"phpMyAdmin Config File Code Injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"config-changes\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/unix/webapp/phpmyadmin_config.rb\", \"platform\": \"PHP\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"unix/webapp/phpmyadmin_config\", \"references\": [\"CVE-2009-1151\", \"OSVDB-53076\", \"EDB-8921\", \"URL-https://www.phpmyadmin.net/security/PMASA-2009-3/\", \"URL-https://web.archive.org/web/20130724101149/http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/\", \"CVE-2009-1285\", \"URL-https://www.phpmyadmin.net/security/PMASA-2009-4/\", \"URL-https://www.tenable.com/security/research/tra-2009-02\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Automatic (phpMyAdmin 2.11.x &lt;= 2.11.9.4 and 3.x &lt;= 3.1.3.1)\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:46.484496Z"}