Vulnerability identifier: #VU65376
Vulnerability risk: High
CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID:
CWE-ID:
CWE-94
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Moodle
Web applications /
Other software
Vendor: moodle.org
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when parsing PostScript code. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the system running GhostScript versions older than 9.50.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
As a workaround it is recommended to update GhostScript to version 9.50 or newer.
Vulnerable software versions
Moodle: 3.0 - 3.0.10, 3.1.0 beta - 3.11.7, 3.2.0 beta - 3.2.9, 3.3 - 3.3.9, 3.4.0 beta - 3.4.9, 3.5.0 beta - 3.5.18, 3.6.0 beta - 3.6.10, 3.7.0 beta - 3.7.9, 3.8.0 beta - 3.8.9, 3.9.0 - 3.9.14, 4.0.0 - 4.0.1
External links
https://moodle.org/mod/forum/discuss.php?d=436456
https://tracker.moodle.org/browse/MDL-75044
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.