Bug 2207982 (CVE-2021-27131) - CVE-2021-27131 moodle: stored xss
Summary: CVE-2021-27131 moodle: stored xss
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-27131
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2207984 2207983
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-17 14:10 UTC by Anten Skrabec
Modified: 2023-05-17 19:41 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-17 19:41:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2023-05-17 14:10:25 UTC
Moodle 3.10.1 is vulnerable to persistent/stored cross-site scripting (XSS) due to the improper input sanitization on the "Additional HTML Section" via "Header and Footer" parameter in /admin/settings.php. This vulnerability is leading an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer.

https://github.com/p4nk4jv/CVEs-Assigned/blob/master/Moodle-3.10.1-CVE-2021-27131.md
https://github.com/moodle/moodle

Comment 1 Anten Skrabec 2023-05-17 14:10:41 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2207984]
Affects: fedora-all [bug 2207983]

Comment 2 Product Security DevOps Team 2023-05-17 19:41:06 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.


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