Bug 857882 (CVE-2012-4400) - CVE-2012-4400 moodle: File upload size constraint issue (MSA-12-0051)
Summary: CVE-2012-4400 moodle: File upload size constraint issue (MSA-12-0051)
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-4400
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 857981 857983 857984
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-17 12:05 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:55 UTC (History)
1 user (show)

Fixed In Version: moodle 2.3.2, moodle 2.2.5, moodle 2.1.8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-21 20:54:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2012-09-17 12:05:49 UTC
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 12:23:33 UTC
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 Gwyn Ciesla 2012-09-17 16:19:07 UTC
Update in progress, not linked to any BZ, none assigned to me.

Comment 3 Jan Lieskovsky 2012-09-17 16:24:33 UTC
(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 Gwyn Ciesla 2012-09-17 16:27:52 UTC
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 Pandit 2012-09-17 16:48:09 UTC
Created moodle tracking bugs for this issue

Affects: fedora-17 [bug 857981]

Comment 6 Prasad Pandit 2012-09-17 16:51:59 UTC
Created moodle tracking bugs for this issue

Affects: fedora-16 [bug 857983]

Comment 7 Prasad Pandit 2012-09-17 16:53:56 UTC
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.