Bug 927248 (CVE-2013-1833)

Summary: CVE-2013-1833 moodle: Cross-site scripting (XSS) in the File picker (MSA-13-0015)
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle-2.4.2, moodle-2.3.5, moodle-2.2.8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-22 15:37:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 927264, 927267, 927273    
Bug Blocks:    

Description Jan Lieskovsky 2013-03-25 13:39:57 UTC
A cross-site scripting (XSS) flaw was found in the way File picker (enables files to be selected and displayed in Moodle) of Moodle, a course management system, performed file content sanitization prior depiction. A remote attacker could provide a specially-crafted file that, when opened in Moodle's File picker add-on would lead to arbitrary HTML or web script execution (in the context of the Moodle user's session).

References:
[1] http://www.openwall.com/lists/oss-security/2013/03/25/2

Relevant upstream patch:
[2] http://git.moodle.org/gw?p=moodle.git;a=commit;h=954b35451112c333c0ae77dff25dafbf41587c26

Comment 1 Jan Lieskovsky 2013-03-25 13:57:03 UTC
This issue affects the version of the moodle package, as shipped with Fedora release of 18. Please schedule an update.

--

This issue (probably [*]) affects the versions of the moodle package, as shipped with Fedora release of 17 and Fedora EPEL-6.

[*] Probably because by comparing particular upstream patch with underlying source code provided patch doesn't seem to be (directly) applicable. But those versions are listed as affected in advisory [1] too.

--

This issue did NOT affect the version of the moodle package, as shipped with Fedora EPEL-5.

Comment 2 Jan Lieskovsky 2013-03-25 14:15:51 UTC
Created moodle tracking bugs for this issue

Affects: fedora-18 [bug 927264]

Comment 3 Jan Lieskovsky 2013-03-25 14:24:16 UTC
Created moodle tracking bugs for this issue

Affects: fedora-17 [bug 927267]

Comment 4 Jan Lieskovsky 2013-03-25 14:35:10 UTC
Created moodle tracking bugs for this issue

Affects: epel-6 [bug 927273]