{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2009-1151 in the wild since at least 25 Mar 2022.","fix":"Upgrade to a fixed version. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2009-1151 is a critical code injection vulnerability in Debian Debian Linux, published on 26 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2009-1151 and fix it if it is affected.\n\nWhat it is: CVE-2009-1151 is a critical code injection vulnerability in Debian Debian Linux, published on 26 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2009-1151 in the wild since at least 25 Mar 2022.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2009-1151/ (Markdown: https://insights.sbomify.com/CVE-2009-1151/index.md)","id":"CVE-2009-1151","markdown":"https://insights.sbomify.com/CVE-2009-1151/index.md","name":"CVE-2009-1151","record":{"aliases":["DEBIAN-CVE-2009-1151","GHSA-fw5c-3235-cprv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"phpMyAdmin","requires_auth":"none","summary":"Remote attackers can inject arbitrary PHP code into configuration files via the save action in phpMyAdmin, leading to code execution.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"phpmyadmin","vendor":"phpmyadmin"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2009-03-24","github_poc":3,"max_poc_stars":6,"metasploit":1,"nuclei":1,"refs":[{"date":"2018-02-03T22:26:09Z","kind":"github_poc","ref":"https://github.com/pagvac/pocs","stars":6,"title":"phpMyAdmin '/scripts/setup.php' PHP Code Injection RCE PoC (CVE-2009-1151)"},{"date":"2023-06-24T21:14:10Z","kind":"github_poc","ref":"https://github.com/e-Thug/PhpMyAdmin","stars":1,"title":"Based on the x.pl exploit/loader script for CVE-2009-1151"},{"date":"2009-03-24","kind":"metasploit","ref":"exploit/unix/webapp/phpmyadmin_config","stars":null,"title":"phpMyAdmin Config File Code Injection"},{"date":"2009-06-09","kind":"exploitdb","ref":"8921","stars":null,"title":"phpMyAdmin - '/scripts/setup.php' PHP Code Injection"},{"date":"2009-06-22","kind":"exploitdb","ref":"8992","stars":null,"title":"phpMyAdmin - 'pmaPWN!' Code Injection / Remote Code Execution"},{"date":"2010-07-03","kind":"exploitdb","ref":"16913","stars":null,"title":"phpMyAdmin - Config File Code Injection (Metasploit)"},{"date":"2025-03-30T23:43:41Z","kind":"github_poc","ref":"https://github.com/tpdlshdmlrkfmcla/ZmEu","stars":0,"title":"CVE-2009-1151, phpMyAdmin의 set.up "},{"date":null,"kind":"nuclei","ref":"http/cves/2009/CVE-2009-1151.yaml","stars":null,"title":"PhpMyAdmin Scripts - Remote Code Execution"}],"tier":"exploited"},"has_fix":true,"headline":"phpMyAdmin Remote Code Execution","id":"CVE-2009-1151","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","product":"phpMyAdmin","requiredAction":"Apply updates per vendor instructions.","vendorProject":"phpMyAdmin","vulnerabilityName":"phpMyAdmin Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","phpmyadmin:phpmyadmin"],"type":"code_injection","year":"2009"},"n_packages":0,"n_references":15,"next":{"headline":"Denial of service in n/a","id":"CVE-2009-1152"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2009-1150"},"products":["n/a"],"published":"2009-03-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-22","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary PHP code into configuration files via the save action in phpMyAdmin, leading to code execution.","url":"https://insights.sbomify.com/CVE-2009-1151/"}