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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://exchange.xforce.ibmcloud.com/vulnerabilities/29001 | vdb entry third party advisory |
http://www.securityfocus.com/bid/19995 | vdb entry third party advisory patch |
http://secunia.com/advisories/21899 | third party advisory patch |
http://www.attrition.org/pipermail/vim/2006-September/001040.html | third party advisory mailing list |
http://www.attrition.org/pipermail/vim/2006-September/001038.html | third party advisory mailing list |
http://www.securityfocus.com/bid/20085 | vdb entry third party advisory patch |
https://exchange.xforce.ibmcloud.com/vulnerabilities/28904 | vdb entry third party advisory |
http://www.securityfocus.com/archive/1/446227/100/0/threaded | mailing list |
http://securitytracker.com/id?1016877 | vdb entry third party advisory |
http://docs.moodle.org/en/Release_notes#Moodle_1.6.2 | vendor advisory |
http://www.vupen.com/english/advisories/2006/3591 | vdb entry third party advisory |