Bug 857882 - (CVE-2012-4400) CVE-2012-4400 moodle: File upload size constraint issue (MSA-12-0051)
CVE-2012-4400 moodle: File upload size constraint issue (MSA-12-0051)
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20120917,reported=2...
: Security
Depends On: 857981 857983 857984
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-17 08:05 EDT by Jan Lieskovsky
Modified: 2015-07-31 02:53 EDT (History)
1 user (show)

See Also:
Fixed In Version: moodle 2.3.2, moodle 2.2.5, moodle 2.1.8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-21 15:54:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2012-09-17 08:05:49 EDT
A possibility to bypass file upload size constraint was found in the way the webservice script, called from the filepicker front end of Moodle, a course management system, performed sanitization of 'maxbytes' variable. A remote attacker could issue a specially-crafted request that, when processed could allow an attacker to upload a file even if it was larger than specified constraint.

Upstream patch:
[1] http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-30792

References:
[2] http://www.openwall.com/lists/oss-security/2012/09/17/1
Comment 1 Jan Lieskovsky 2012-09-17 08:23:33 EDT
This issue affects the versions of the moodle package, as shipped with Fedora release of 16 and 17. Please schedule an update.

--

This issue affects the version of the moodle package, as shipped with Fedora EPEL 6. Please schedule an update.

--

This issue did NOT affect the version of the moodle package, as shipped with Fedora EPEL 5.
Comment 2 Jon Ciesla 2012-09-17 12:19:07 EDT
Update in progress, not linked to any BZ, none assigned to me.
Comment 3 Jan Lieskovsky 2012-09-17 12:24:33 EDT
(In reply to comment #2)
> Update in progress, not linked to any BZ, none assigned to me.

Thanks, Jon. Do you need child bugs yet?
Comment 4 Jon Ciesla 2012-09-17 12:27:52 EDT
Not really, only to attach to the Bodhi update.  I've already got the builds and the updates done and in the pipe.  Might be good for completeness.
Comment 5 Prasad J Pandit 2012-09-17 12:48:09 EDT
Created moodle tracking bugs for this issue

Affects: fedora-17 [bug 857981]
Comment 6 Prasad J Pandit 2012-09-17 12:51:59 EDT
Created moodle tracking bugs for this issue

Affects: fedora-16 [bug 857983]
Comment 7 Prasad J Pandit 2012-09-17 12:53:56 EDT
Created moodle tracking bugs for this issue

Affects: epel-6 [bug 857984]

Note You need to log in before you can comment on or make changes to this bug.