MSA-13-0033: Potential SQL injection in Moodle's SQL Server driver

MSA-13-0033: Potential SQL injection in Moodle's SQL Server driver

by Michael de Raadt -
Number of replies: 0
Description: Null characters were allowed in query strings, which caused sql statements to terminate and fail
Issue summary: null byte causes error in ms sql drivers - potential sql injection
Severity/Risk: Serious
Versions affected: 2.5 to 2.5.1, 2.4 to 2.4.5, 2.3 to 2.3.8, previous unsupported versions
Versions fixed: 2.5.2, 2.4.6 and 2.3.9
Reported by: Ryan Giobbi
Issue no.: MDL-40676
CVE identifier: CVE-2013-4313
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40676