CVE-2010-2230
What it is
The KSES text cleaning filter in lib/weblib.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 does not properly handle vbscript URIs, which allows remote authenticated users to conduct cross-site scripting (XSS) attacks via HTML input.
At a glance
- Exploitability
- Can be exploited over the network with a login. Limited direct impact.
- Exploit odds
- 2.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.2% in the next 30 days (EPSS).
- Severity: 4.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.2% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Moodle ≤ 1.8.12
- Moodle 1.1.1
- Moodle 1.2.0
- Moodle 1.2.1
- Moodle 1.3.0
- Moodle 1.3.1
- Moodle 1.3.2
- Moodle 1.3.3
Attack profile CVSS 2.0 · 4.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- Single
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:S/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-2230.md and follow it. Check whether this project is affected by CVE-2010-2230. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- http://secunia.com/advisories/40248
- http://secunia.com/advisories/40352
- http://www.vupen.com/english/advisories/2010/1530
- http://www.vupen.com/english/advisories/2010/1571
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- http://secunia.com/advisories/40248
- http://secunia.com/advisories/40352
References
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- http://docs.moodle.org/en/Moodle_1.8.13_release_notes
- http://docs.moodle.org/en/Moodle_1.9.9_release_notes
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043285.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043291.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043340.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://moodle.org/mod/forum/discuss.php?d=152368
- http://secunia.com/advisories/40248
- http://secunia.com/advisories/40352
- http://tracker.moodle.org/browse/MDL-22042
- http://www.openwall.com/lists/oss-security/2010/06/21/2
- http://www.vupen.com/english/advisories/2010/1530
- http://www.vupen.com/english/advisories/2010/1571
- https://bugzilla.redhat.com/show_bug.cgi?id=605809
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- http://docs.moodle.org/en/Moodle_1.8.13_release_notes
- http://docs.moodle.org/en/Moodle_1.9.9_release_notes
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043285.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043291.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043340.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://moodle.org/mod/forum/discuss.php?d=152368