Moodle: moodle: remote code execution via insufficient restore input validation (moodle)

CVE-2025-67847
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.57 % · percentile 47 ()
State
PUBLISHED
Published
Updated
Assigner
fedora
NVD status
Analyzed

Description

A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.

Weaknesses (CWE)

  • CWE-94 — Improper Control of Generation of Code

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hfedora
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · patrick@puiterwijk.org (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
moodleaffected 5.1.0 < 5.1.1 ; affected 5.0.0 < 5.0.4 ; affected 4.5.0 < 4.5.8 ; affected 4.4.0 < 4.4.12 ; affected 4.1.0 < 4.1.22 ; affected 0 < 4.1.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD