Vulnerabilities · 2006 · Moodle
CVE-2006-4785
Moodle vulnerability
SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the format parameter as stored in the $blogEntry variable, which is not properly handled by the insert_record function, which calls _adodb_column_sql in the adodb layer (lib/adodb/adodb-lib.inc.php), which does not convert the data type to an int.
Affected products
Moodle. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moodle runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.moodle.org/en/Release_notes#Moodle_1.6.2 · Vendor Advisory
- secunia.com/advisories/21899 · Patch
- www.securityfocus.com/bid/19995 · Patch
- www.securityfocus.com/bid/20085 · Patch
- securitytracker.com/id?1016877 · Third Party Advisory
- www.attrition.org/pipermail/vim/2006-September/001038.html · Third Party Advisory
- www.attrition.org/pipermail/vim/2006-September/001040.html · Third Party Advisory
- www.vupen.com/english/advisories/2006/3591 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2006-4785
- cve.org/CVERecord?id=CVE-2006-4785
More vulnerabilities in Moodle products
CVE-2025-62401CVE-2025-62400CVE-2025-62399CVE-2025-62398CVE-2025-62397CVE-2025-62396CVE-2025-62395CVE-2025-62394All 611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.