MSA-12-0051: File upload size constraint issue

MSA-12-0051: File upload size constraint issue

by Michael de Raadt -
Number of replies: 0
Topic: /repository/repository_ajax.php allows you to supply -1 for "maxbytes" and side step moodle file size restrictions
Severity/Risk: Minor
Versions affected: 2.3 to 2.3.1+, 2.2 to 2.2.4+
Reported by: Andrew Davis
Issue no.: MDL-30792

CVE Identifier:

CVE-2012-4400
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-30792

Description:

It was possible for a user to manipulate script parameters to upload a file larger than set limits.