CVE-2006-0147
Dynamic code evaluation vulnerability in tests/tmssql.php test script in ADOdb for PHP before 4.70, as used in multiple products…
Check your servers for CVE-2006-0147
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-0147 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 13.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.0% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-0147 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-0147RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-0147Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-0147
trivy image --scanners vuln IMAGE | grep CVE-2006-0147
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 19590 secunia.com · third party advisory
- 18267 secunia.com · third party advisory
- 18254 secunia.com · third party advisory
- 19555 secunia.com · third party advisory
- DSA-1029 debian.org · vendor advisory
- 19628 secunia.com · third party advisory
- DSA-1030 debian.org · vendor advisory
- 18276 secunia.com · third party advisory
- 19600 secunia.com · third party advisory
- 19591 secunia.com · third party advisory
- 17418 secunia.com · third party advisory
- 19691 secunia.com · third party advisory
4 more
- 18233 secunia.com · third party advisory
- DSA-1031 debian.org · vendor advisory
- 18260 secunia.com · third party advisory
- GLSA-200604-07 gentoo.org · vendor advisory
Exploits and proof of concept
- 1663 exploit-db.com · exploit
Other references
- adodb-tmssql-command-execution(24052) exchange.xforce.ibmcloud.com · vdb entry
- 20060409 PhpOpenChat 3.0.x ADODB Server.php "sql" SQL injection securityfocus.com · mailing list
- ADV-2006-1305 vupen.com · vdb entry
- ADV-2006-0103 vupen.com · vdb entry
- http://secunia.com/secunia_research/2005-64/advisory/ secunia.com
- 20060412 Simplog <=0.9.2 multiple vulnerabilities securityfocus.com · mailing list
- ADV-2006-0102 vupen.com · vdb entry
- ADV-2006-0101 vupen.com · vdb entry
- http://retrogod.altervista.org/simplog_092_incl_xpl.html retrogod.altervista.org
- ADV-2006-1332 vupen.com · vdb entry
- 22291 osvdb.org · vdb entry
- http://retrogod.altervista.org/phpopenchat_30x_sql_xpl.html retrogod.altervista.org
- ADV-2006-0104 vupen.com · vdb entry
Source: the record CVE-2006-0147 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse