CVE-2006-4785 json
SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the…
published 2006-09-14 20 y ago modified 2026-06-16 4 mo ago also EUVD-2006-4772
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- securityfocus.com/bid/19995 advisory
- secunia.com/advisories/21899 advisory
- securityfocus.com/bid/20085 advisory
Exploit prediction
3.05% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
securityfocus.com
/bid/19995
vdb-entry, patch, third-party-advisory
-
secunia.com
/advisories/21899
third-party-advisory, patch
-
securityfocus.com
/bid/20085
vdb-entry, patch, third-party-advisory
-
docs.moodle.org
/en/Release_notes#Moodle_1.6.2
vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/29001
vdb-entry, third-party-advisory
-
attrition.org
/pipermail/vim/2006-September/001040.html
mailing-list, third-party-advisory
-
attrition.org
/pipermail/vim/2006-September/001038.html
mailing-list, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/28904
vdb-entry, third-party-advisory
-
securityfocus.com
/archive/1/446227/100/0/threaded
mailing-list
-
securitytracker.com
/id?1016877
vdb-entry, third-party-advisory
-
vupen.com
/english/advisories/2006/3591
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2006-4785
- NVD CVE-2006-4785
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.