MSA-11-0025: Group names in user upload CSV not being escaped

MSA-11-0025: Group names in user upload CSV not being escaped

by Michael de Raadt -
Number of replies: 0
Topic: SQL injection vulnerability in user upload
Severity: Serious
Versions affected: < 1.9.13 (2.x not affected)
Reported by: Matt Meisberger
Issue no.: MDL-28197
Solution: upgrade to 1.9.13
Workaround: escape quotes in user upload CSV files

Description:

When uploading a CSV file with group names that contain quotes, this could throw off SQL processing. This is only exploitable by admins, but could accidentally lead to DB corruption.