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....
HighCVSS 7.5
EPSS 3.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| moodle/moodle | <= 1.6.1 | after 1.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle/moodle | <= 1.6.1 | No fix listed |
References
- docs.moodle.org vendor-advisory
- 21899 patch third-party-advisory
- 1016877 third-party-advisory vdb-entry
- 20060919 Moodle issue - invalid vendor ack? and extra vulns mailing-list third-party-advisory
- 20060619 Re: Moodle issue - invalid vendor ack? and extra vulns mailing-list third-party-advisory
- 20060917 Sql injection in Moodle mailing-list
- 19995 patch third-party-advisory vdb-entry
- 20085 patch third-party-advisory vdb-entry
- ADV-2006-3591 third-party-advisory vdb-entry
- moodle-unspecified-sql-injection(28904) third-party-advisory vdb-entry
- moodle-edit-sql-injection(29001) third-party-advisory vdb-entry