Bug 1167395 (CVE-2014-9059)

Summary: CVE-2014-9059 moodle: XSS vulnerability in AJAX scripts
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
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.11, Moodle 2.5.9, Moodle 2.6.6, Moodle 2.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-22 15:37:31 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: 1167396, 1167397    
Bug Blocks:    

Description Vasyl Kaigorodov 2014-11-24 16:09:08 UTC
It was reported [1] that lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.
Upstream patch that fixes this is at [2].
More information can be found at [3].

[1]: http://openwall.com/lists/oss-security/2014/11/17/11
[2]: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47966
[3]: https://moodle.org/mod/forum/discuss.php?d=275146

Comment 1 Vasyl Kaigorodov 2014-11-24 16:09:31 UTC
Created moodle tracking bugs for this issue:

Affects: fedora-all [bug 1167396]
Affects: epel-all [bug 1167397]