Security Resilience

CVE-2023-5548

Moodle ≤ 3.9.24

Published
09 November 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 3.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS Score 0.0032 26th percentile
Risk Priority 29 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-5548 is a low-severity Acceptance of Extraneous Untrusted Data With Trusted Data (CWE-349) vulnerability in Moodle. Its CVSS base score is 3.3 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked at the 26th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Stronger revision number limitations were required on file serving endpoints to improve cache poisoning protection.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1553 Subvert Trust Controls Defense Impairment
Adversaries may undermine security controls that will either warn users of untrusted activity or prevent execution of untrusted programs.
T1685.007 Impair Autonomous Defenses Defense Impairment
Adversaries may use methods like [Indirect Prompt Injection](https://attack.
T1176.001 Browser Extensions Persistence
Adversaries may abuse internet browser extensions to establish persistent access to victim systems.
T1557 Adversary-in-the-Middle Credential Access
Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as [Network Sniffing](https://attack.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-5540Same product: Moodle Moodle
CVE-2023-5539Same product: Moodle Moodle
CVE-2023-5550Same product: Moodle Moodle
CVE-2023-30944Same product: Moodle Moodle
CVE-2023-5542Same product: Moodle Moodle
CVE-2023-5545Same product: Moodle Moodle
CVE-2023-30943Same product: Moodle Moodle
CVE-2023-5543Same product: Moodle Moodle
CVE-2023-5549Same product: Moodle Moodle
CVE-2023-5551Same product: Moodle Moodle

Affected Assets

moodle
moodle
≤ 3.9.24 · 3.11.0 — 3.11.17 · 4.0.0 — 4.0.11
fedoraproject
extra packages for enterprise linux
7.0
fedoraproject
fedora
38

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V1.2.2
  • V10.4.7
  • V3.7.3
  • V5.3.1

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-345

Directly requires independent verification of matching output before adverse decisions, mitigating insufficient authenticity checks on data from external sources.

addresses: CWE-345

Use of approved PKI certificates provides verifiable data authenticity and origin for communications and artifacts.

addresses: CWE-345

Mandates provision of authenticity and integrity artifacts that enable verification of name/address resolution data.

addresses: CWE-345

Requires explicit verification of data authenticity from authoritative sources, preventing acceptance of unauthenticated resolution responses.

addresses: CWE-345

Control requires verification of data authenticity/integrity (e.g., checksums) after aggregation/packing, directly reducing exploitation of insufficient verification before transmission.

addresses: CWE-345

Time synchronization supports reliable freshness verification when checking data authenticity across systems or components.

addresses: CWE-345

Mandates verification of data authenticity for software, firmware, and information.

addresses: CWE-345

Provenance documentation and monitoring directly enables verification of authenticity for components and data throughout their history.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly address proper trust-boundary enforcement and input validation, preventing this class of weakness during development.

PR.DS-01 partial match
blocks

Cryptographic integrity checks on data-at-rest can detect tampering or substitution of untrusted content mixed with trusted data.

PR.DS-02 partial match
blocks

Cryptographic integrity mechanisms on data-in-transit can prevent acceptance of extraneous untrusted data by validating origin and detecting modification.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect the weakness but does not itself implement preventive controls.

prevents

Training developers on trust-boundary validation and proper handling of mixed trusted/untrusted data reduces instances of CWE-349, but the effect is a minority one because training is fallible and the specific technical knowledge required varies across implementations, consistent with the A.6.3 vs CWE-598 and A.8.28 vs CWE-79 anchors.

prevents

Secure coding standards mandate input sanitization and provenance checks that prevent acceptance of extraneous untrusted data.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-349 is a regular software CWE reached by secure coding and testing, but the clause's ceiling on this verb is partial.

finds

A.8.8's reach is disclosure-based (published advisories, vendor CVEs), and CWE-349 is a first-party implementation logic flaw in data handling; the disclosed share of this class is a minority (the observed CVEs exist but most instances in custom code never surface as advisories), so A.8.8 finds that minority and nothing more.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (1 rule)
  • V-248574 YUM must be configured to prevent the installation of patches, service packs, device drivers, or OL 8 system components that have not been digitally signed using a certificate that is recognized and approved by the organization. blocks CWE-349

References