Original description
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 software
- Moodle ≤ 1.6.1 exact match
Details
- Published
- 2006-09-14
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 3.05% (percentile 88)
References
- cve.org/CVE-2006-4785
- nvd.nist.gov/vuln/detail/CVE-2006-4785
- docs.moodle.org/en/Release_notes#Moodle_1.6.2
- secunia.com/advisories/21899
- securitytracker.com/id?1016877
- www.attrition.org/pipermail/vim/2006-September/001038.html
- www.attrition.org/pipermail/vim/2006-September/001040.html
- www.securityfocus.com/archive/1/446227/100/0/threaded
- www.securityfocus.com/bid/19995
- www.securityfocus.com/bid/20085
- www.vupen.com/english/advisories/2006/3591
- exchange.xforce.ibmcloud.com/vulnerabilities/28904
- exchange.xforce.ibmcloud.com/vulnerabilities/29001
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.