Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2006-0147: Dynamic Code Evaluation in ADOdb for PHP (tmssql.php)

Published Jan 9, 2006 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v2
EPSS13.1%96th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
John LimThe Cacti GroupMantisMoodlePostnuke Software Foundation
IdentifiersCVE-2006-0147CWE-94

ADOdb for PHP before 4.70 contains a dynamic code evaluation vulnerability in the tests/tmssql.php test script. The script takes user input from the 'do' parameter, assigns it to a variable, and then executes it as a PHP function. This allows remote attackers to execute arbitrary PHP functions, as demonstrated with the 'phpinfo' function. The vulnerability affects multiple products that include ADOdb, such as Mantis, PostNuke, Moodle, Cacti, Xaraya, PhpOpenChat, possibly MAXdev MD-Pro, and Simplog.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Remote attackers can execute arbitrary PHP functions on the server by supplying crafted input to the 'do' parameter in the vulnerable script. This can lead to full compromise of the affected web application and potentially the underlying server, depending on the privileges of the web server process.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, remove the tests/tmssql.php script from all production servers or restrict access to it via web server configuration (e.g., using .htaccess or equivalent). Regularly audit web application directories for the presence of test or development scripts.

Remediation

Patch, then assume compromise.

Upgrade ADOdb to version 4.70 or later, which removes or secures the vulnerable test script. Additionally, ensure that test scripts like tmssql.php are not deployed on production systems. Remove or restrict access to any test or development scripts in production environments.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Candidate exploits are awaiting analysis. View them in Mallory.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
John LimAdodbapplication
MantisMantisapplication
MoodleMoodleapplication
Postnuke Software FoundationPostnukeapplication
The Cacti GroupCactiapplication
FAQ

Frequently asked questions

Is CVE-2006-0147 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2006-0147 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2006-0147?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2006-0147.
Is there a patch for CVE-2006-0147?
Upgrade ADOdb to version 4.70 or later, which removes or secures the vulnerable test script. Additionally, ensure that test scripts like tmssql.php are not deployed on production systems.
What products are affected by CVE-2006-0147?
Mantis, Moodle, John Lim Adodb, The Cacti Group Cacti, and Postnuke Software Foundation Postnuke.
How severe is CVE-2006-0147?
CVE-2006-0147 has a CVSS v2 score of 7.5 (High) and an EPSS score of 13.1% (96th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.