SB2025061828 - Multiple vulnerabilities in Moodle
Published: June 18, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 8 vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2025-49512)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in MathJax. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Improper access control (CVE-ID: CVE-2025-49518)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to the IDOR issue. A remote user can fetch other users' recently accessed courses information.
3) Missing Authorization (CVE-ID: CVE-2025-49517)
CWE-ID: CWE-862 - Missing Authorization
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to missing authorization in BigBlueButton view page. A remote user can view BigBlueButton recordings they do not have permission to access.
4) Cross-site request forgery (CVE-ID: CVE-2025-49516)
CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists due to insufficient validation of the HTTP request origin in the "move up" and "move down" actions in backpack management for badges. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.
5) Information disclosure (CVE-ID: CVE-2025-49515)
CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to insufficient state and capability checks. A remote user can gain unauthorized access to some details of hidden courses.
6) SQL injection (CVE-ID: CVE-2025-46337)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: 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
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in ADOdb PostgreSQL driver within pg_insert_id() method. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
7) Use of cache containing sensitive information (CVE-ID: CVE-2025-49513)
CWE-ID: CWE-524 - Use of Cache Containing Sensitive Information
CVSSv4: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local attacker to compromise user accounts.
The vulnerability exists due to use of cache containing sensitive information. An attacker with physical access can gain access to user's password on the login page after log out.
8) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2025-49514)
CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
The disclosed vulnerability allows a remote attacker to perform SSRF attacks.
The vulnerability exists due to insufficient validation of user-supplied input within DNS rebind. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.
Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.
Remediation
Install update from vendor's website.
References
- https://moodle.org/mod/forum/discuss.php?d=468500
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-85488&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468507
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-79993&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468506
- https://moodle.org/mod/forum/discuss.php?d=468505
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-84497&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468504
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-84518&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468502
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-85375&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468501
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-85323&type=commits
- https://moodle.org/mod/forum/discuss.php?d=468503
- https://github.com/search?q=repo%3Amoodle%2Fmoodle+MDL-83762&type=commits