{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2006-4785","published":"2006-09-14T10:07:00Z","last_modified":"2026-06-16T22:29:47.543000Z","status":"Modified","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","part":"a","vendor":"moodle","product":"moodle","version_end_including":"1.6.1"}],"cpes_truncated":false,"vendors":["moodle"],"products":["moodle/moodle"],"epss":{"score":0.03047,"percentile":0.88291,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2006-4785/","html_en":"/en/cve/CVE-2006-4785/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-4785","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-4785"},"untrusted":{"vendor_name":"Moodle","product_name":"Moodle","desc_en":"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":[],"references":[{"url":"http://docs.moodle.org/en/Release_notes#Moodle_1.6.2","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/21899","tags":["Patch","Third Party Advisory"]},{"url":"http://securitytracker.com/id?1016877","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.attrition.org/pipermail/vim/2006-September/001038.html","tags":["Third Party Advisory"]},{"url":"http://www.attrition.org/pipermail/vim/2006-September/001040.html","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/446227/100/0/threaded","tags":[]},{"url":"http://www.securityfocus.com/bid/19995","tags":["Patch","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/20085","tags":["Patch","Third Party Advisory","VDB Entry"]},{"url":"http://www.vupen.com/english/advisories/2006/3591","tags":["Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/28904","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29001","tags":["Third Party Advisory","VDB Entry"]}]}}