{"id":"CVE-2006-0147","aliases":["DEBIAN-CVE-2006-0147","DSA-1029-1","DSA-1030-1","DSA-1031-1","EUVD-2006-0155","GHSA-8348-4394-v2hm"],"status":"published","title":"Dynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.13065,"percentile":0.96374,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2006-01-09T23:00:00Z","modified":"2026-10-22T23:47:26Z","exploits":[{"source":"exploitdb","id":"EDB-1663","title":"Simplog 0.9.2 - 's' Remote Command Execution","type":"webapps","platform":"php","date":"2006-04-11","verified":true,"url":"https://www.exploit-db.com/exploits/1663"}],"fixes":[{"ecosystem":"Debian:12","package":"cacti","fixed_in":["0.8.6d-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cacti","fixed_in":["0.8.6d-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cacti","fixed_in":["0.8.6d-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libphp-adodb","fixed_in":["4.72-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libphp-adodb","fixed_in":["4.72-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libphp-adodb","fixed_in":["4.72-0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cacti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.6d-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cacti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.6d-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cacti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.6d-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libphp-adodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.72-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libphp-adodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.72-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libphp-adodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.72-0.1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"libphp-adodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.51-1.2"}]}],"versions":["1.51-1.1"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.1","package":"libphp-adodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.52-1sarge1"}]}],"versions":["4.52-1"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.1","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4.dfsg.1-3sarge1"}]}],"versions":["1.4.4.dfsg.1-3"],"bundled":4},{"source":"osv","ecosystem":"Debian:3.1","package":"cacti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.6c-7sarge3"}]}],"versions":["0.8.6c-7","0.8.6c-7sarge2"],"bundled":4}],"products":[{"vendor":"john_lim","product":"adodb"},{"vendor":"mantis","product":"mantis"},{"vendor":"moodle","product":"moodle"},{"vendor":"postnuke_software_foundation","product":"postnuke"},{"vendor":"the_cacti_group","product":"cacti"}],"references":[{"url":"http://secunia.com/advisories/19590","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/18267","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/18254","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/19555","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.debian.org/security/2006/dsa-1029","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24052","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/19628","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/archive/1/430448/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.debian.org/security/2006/dsa-1030","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.vupen.com/english/advisories/2006/1305","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/18276","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/19600","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.exploit-db.com/exploits/1663","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2006/0103","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/secunia_research/2005-64/advisory/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"http://www.securityfocus.com/archive/1/430743/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/19591","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/17418","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"http://secunia.com/advisories/19691","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0102","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0101","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/18233","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://retrogod.altervista.org/simplog_092_incl_xpl.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://www.vupen.com/english/advisories/2006/1332","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.osvdb.org/22291","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.debian.org/security/2006/dsa-1031","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://retrogod.altervista.org/phpopenchat_30x_sql_xpl.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://www.vupen.com/english/advisories/2006/0104","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/18260","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200604-07.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0147"},{"url":"http://secunia.com/secunia_research/2005-64/advisory"},{"url":"https://github.com/advisories/GHSA-8348-4394-v2hm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2006-0147","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2006-0147","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.","status":"published","published":"2006-01-09T23:00:00Z","modified":"2024-08-07T16:25:33.633Z","updated_at":"2026-11-02T14:33:52.569914Z"}],"euvd":[{"id":"EUVD-2006-0155","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.","status":"published","published":"2006-01-09T23:00:00Z","modified":"2024-08-07T16:25:33Z","updated_at":"2026-11-03T01:16:10.838416Z"}],"ghsa":[{"id":"GHSA-8348-4394-v2hm","title":"Dynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4...","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.","status":"published","published":"2022-05-01T06:37:35Z","modified":"2025-04-03T04:24:53Z","updated_at":"2026-11-02T15:00:45.047917Z"}],"nvd":[{"id":"CVE-2006-0147","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.","status":"published","published":"2006-01-09T23:03:00Z","modified":"2026-06-16T22:19:59.173Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:00.269596Z"}],"osv":[{"id":"CVE-2006-0147","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.","status":"published","published":"2006-01-09T23:03:00Z","modified":"2026-04-10T03:37:21.049328Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2006-0147","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.","status":"published","published":"2006-01-09T23:03:00Z","modified":"2026-10-22T23:47:26.332030284Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"DSA-1029-1","title":"libphp-adodb - several","status":"published","published":"2006-04-08T00:00:00Z","modified":"2026-03-09T01:01:02.226875Z","updated_at":"2026-11-02T15:46:13.900249Z"},{"id":"DSA-1030-1","title":"moodle - several","status":"published","published":"2006-04-08T00:00:00Z","modified":"2026-03-09T01:00:55.763629Z","updated_at":"2026-11-02T15:46:13.900249Z"},{"id":"DSA-1031-1","title":"cacti - several","status":"published","published":"2006-04-08T00:00:00Z","modified":"2026-03-09T01:00:42.664305Z","updated_at":"2026-11-02T15:46:13.900249Z"}]}}
