CONTENTUM.COMA specialist. A plan. A result.

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

More vulnerabilities in Moodle products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.