All vulnerabilities

Servers and applications

CVE-2006-4785

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.

Severity
High 7.5
Published
14 Sept 2006
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
3% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Every version up to 1.6.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2006-4785
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2006-4785