Description
Cross-site scripting (XSS) vulnerability in user/profile.php in Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote authenticated users to inject arbitrary web script or HTML via the Skype ID profile field.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Moodle 2.7 - Persistent Cross-Site Scripting EDB-34169 · webapps · Jul 27, 2014
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 2.4.11 | 2.4.11 | GHSA-c9jp-244j-vh78 |
| Packagist | moodle/moodle | >= 2.5.0, < 2.5.7 | 2.5.7 | GHSA-c9jp-244j-vh78 |
| Packagist | moodle/moodle | >= 2.6.0, < 2.6.4 | 2.6.4 | GHSA-c9jp-244j-vh78 |
| Packagist | moodle/moodle | >= 2.7.0, < 2.7.1 | 2.7.1 | GHSA-c9jp-244j-vh78 |
References
- [oss-security] 20140721 Moodle security notifications public mailing-list
- http://osandamalith.wordpress.com/2014/07/25/moodle-2-7-persistent-xss/
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-45683
- http://packetstormsecurity.com/files/127624/Moodle-2.7-Cross-Site-Scripting.html
- 34169 exploit
- 109337 vdb-entry
- 68756 vdb-entry
- https://github.com/moodle/moodle/commit/ce5a785b0962c3c94c7a7b0d36176482d21db95d
- https://moodle.org/mod/forum/discuss.php?d=264265