Bug 2142773 (CVE-2022-45150, MSA-22-0030) - CVE-2022-45150 moodle: reflected XSS risk in policy tool
Summary: CVE-2022-45150 moodle: reflected XSS risk in policy tool
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-45150, MSA-22-0030
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: 2144704 2144705 2144706 2144707
Blocks: 2141946 2144718
TreeView+ depends on / blocked
 
Reported: 2022-11-15 08:58 UTC by TEJ RATHI
Modified: 2022-12-07 19:02 UTC (History)
1 user (show)

Fixed In Version: moodle 4.0.5, moodle 3.11.11, moodle 3.9.18
Doc Type: If docs needed, set a value
Doc Text:
A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages.
Clone Of:
Environment:
Last Closed: 2022-12-07 19:02:51 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-11-15 08:58:30 UTC
MSA-22-0030: Reflected XSS risk in policy tool

The return URL in the policy tool required extra sanitizing to prevent a reflected XSS risk.

Versions affected: 4.0 to 4.0.4, 3.11 to 3.11.10, 3.9 to 3.9.17 and earlier unsupported versions
Versions fixed:    4.0.5, 3.11.11 and 3.9.18

Comment 3 TEJ RATHI 2022-11-22 04:00:24 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2144704]
Affects: fedora-35 [bug 2144705]
Affects: fedora-36 [bug 2144706]
Affects: fedora-37 [bug 2144707]

Comment 4 Product Security DevOps Team 2022-12-07 19:02:49 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.