Bug 2214373 (CVE-2023-35133, MSA-23-0018)

Summary: CVE-2023-35133 moodle: SSRF risk due to insufficient check on the cURL blocked hosts
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 4.2.1, moodle 4.1.4, moodle 4.0.9, moodle 3.11.15, moodle 3.9.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-20 03:39:13 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: 2216004, 2216003    
Bug Blocks: 2214360    

Description Guilherme de Almeida Suckevicz 2023-06-12 18:57:20 UTC
An issue in the logic used to check 0.0.0.0 against the cURL blocked hosts lists resulted in an SSRF risk. This flaw affects Moodle versions 4.2, 4.1 to 4.1.3, 4.0 to 4.0.8, 3.11 to 3.11.14, 3.9 to 3.9.21 and earlier unsupported versions.

Reference:
https://moodle.org/mod/forum/discuss.php?d=447831

Comment 1 Guilherme de Almeida Suckevicz 2023-06-19 16:39:13 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2216004]
Affects: fedora-all [bug 2216003]

Comment 2 Product Security DevOps Team 2023-06-20 03:39:11 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.