Bug 1692916 (CVE-2019-3850)

Summary: CVE-2019-3850 moodle: Stored HTML in assignment submission comments allowed links to be opened directly
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gwync, igor.raits, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 3.6.3, moodle 3.5.5, moodle 3.4.8, moodle 3.1.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:52:08 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: 1692918, 1692917    
Bug Blocks:    

Description Laura Pardo 2019-03-26 16:57:10 UTC
A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Links within assignment submission comments would open directly (in the same window). Although links themselves may be valid, opening within the same window and without the no-referrer header policy made them more susceptible to exploits.


Upstream Bug:
https://tracker.moodle.org/browse/MDL-64651

Upstream Patch:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64651

Comment 1 Laura Pardo 2019-03-26 16:57:13 UTC
Acknowledgments:

Name: Steeven George

Comment 2 Laura Pardo 2019-03-26 16:57:15 UTC
External References:

https://moodle.org/mod/forum/discuss.php?d=384013#p1547745

Comment 3 Laura Pardo 2019-03-26 16:57:32 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 1692918]
Affects: fedora-all [bug 1692917]

Comment 4 Product Security DevOps Team 2019-06-10 10:52:08 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.