CVE-2006-0146
The server.php test script in ADOdb for PHP before 4.70, as used in multiple products including (1) Mantis, (2) PostNuke, (3) Moodle…
Check your servers for CVE-2006-0146
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-0146 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
The server.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, (7) MAXdev MD-Pro, and (8) MediaBeez, when the MySQL root password is empty, allows remote attackers to execute arbitrary SQL commands via the sql parameter.
Exploitation
EPSS 13.2%: 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-0146 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-0146RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-0146Alpine
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-0146
trivy image --scanners vuln IMAGE | grep CVE-2006-0146
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
- http://www.maxdev.com/Article550.phtml maxdev.com
- 19699 secunia.com · third party advisory
- DSA-1030 debian.org · vendor advisory
- 24954 secunia.com · third party advisory
- 18276 secunia.com · third party advisory
- 713 securityreason.com · third party advisory
- 19600 secunia.com · third party advisory
10 more
- 18720 secunia.com · third party advisory
- 19591 secunia.com · third party advisory
- 17418 secunia.com · third party advisory
- http://www.xaraya.com/index.php/news/569 xaraya.com
- 19691 secunia.com · third party advisory
- 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
- 19563 secunia.com · third party advisory
Other references
- 20060409 PhpOpenChat 3.0.x ADODB Server.php "sql" SQL injection securityfocus.com · mailing list
- ADV-2006-0105 vupen.com · vdb entry
- ADV-2006-1305 vupen.com · vdb entry
- ADV-2006-1304 vupen.com · vdb entry
- 20070418 MediaBeez Sql query Execution .. Wear isn't ?? :) securityfocus.com · mailing list
- ADV-2006-0103 vupen.com · vdb entry
- http://secunia.com/secunia_research/2005-64/advisory/ secunia.com
- 16187 securityfocus.com · vdb entry
- ADV-2006-1419 vupen.com · vdb entry
- ADV-2006-0447 vupen.com · vdb entry
- adodb-server-command-execution(24051) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2006-0102 vupen.com · vdb entry
6 more
- ADV-2006-0101 vupen.com · vdb entry
- 22290 osvdb.org · vdb entry
- ADV-2006-0370 vupen.com · vdb entry
- http://retrogod.altervista.org/phpopenchat_30x_sql_xpl.html retrogod.altervista.org
- 20060202 Bug for libs in php link directory 2.0 securityfocus.com · mailing list
- ADV-2006-0104 vupen.com · vdb entry
Source: the record CVE-2006-0146 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