{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-0147 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2006-0147 is a high-severity code injection vulnerability in Moodle Moodle, published on 9 Jan 2006. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-0147 and fix it if it is affected.\n\nWhat it is: CVE-2006-0147 is a high-severity code injection vulnerability in Moodle Moodle, published on 9 Jan 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-0147 exists.\n\nAffected product: Moodle Moodle. 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-2006-0147/ (Markdown: https://insights.sbomify.com/CVE-2006-0147/index.md)","id":"CVE-2006-0147","markdown":"https://insights.sbomify.com/CVE-2006-0147/index.md","name":"CVE-2006-0147","record":{"aliases":["DEBIAN-CVE-2006-0147","GHSA-8348-4394-v2hm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP database library","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code via the do parameter in the ADOdb test script, affecting multiple applications using this library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"adodb","vendor":"john_lim"},{"product":"mantis","vendor":"mantis"},{"product":"moodle","vendor":"moodle"},{"product":"postnuke","vendor":"postnuke_software_foundation"},{"product":"cacti","vendor":"the_cacti_group"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Dynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4.70, as used in multiple products including (1) Mantis, (2) PostNuke, (3) Moodle, (4) Cacti, (5) Xaraya, (6) PhpOpenChat, possibly (7) MAXdev MD-Pro, and (8) Simplog, allows remote attackers to execute arbitrary PHP functions via the do parameter, which is saved in a variable that is then executed as a function, as demonstrated using phpinfo.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2006-04-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2006-04-11","kind":"exploitdb","ref":"1663","stars":null,"title":"Simplog 0.9.2 - 's' Remote Command Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Code injection in n/a","id":"CVE-2006-0147","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"moodle:moodle","products":["moodle:moodle"],"type":"code_injection","year":"2006"},"n_packages":0,"n_references":30,"next":{"headline":"Denial of service in n/a","id":"CVE-2006-0148"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2006-0146"},"products":["n/a"],"published":"2006-01-09","related":[{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2006-0146","kev_date_added":null,"published":"2006-01-09"},{"cvss_score":5.1,"headline":"Code injection in n/a","id":"CVE-2006-4618","kev_date_added":null,"published":"2006-09-07"},{"cvss_score":5,"headline":"Information disclosure in n/a","id":"CVE-2011-3699","kev_date_added":null,"published":"2011-09-23"},{"cvss_score":5,"headline":"Information disclosure in n/a","id":"CVE-2004-2664","kev_date_added":null,"published":"2006-09-07"},{"cvss_score":5,"headline":"SQL injection in n/a","id":"CVE-2006-0410","kev_date_added":null,"published":"2006-01-25"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2006-0806","kev_date_added":null,"published":"2006-02-21"}],"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":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary PHP code via the do parameter in the ADOdb test script, affecting multiple applications using this library.","url":"https://insights.sbomify.com/CVE-2006-0147/"}