|
Moodle KSES HTML Filter Bypass Vulnerability
|
|
Secunia Advisory:
|
SA30986
|
|
|
Release Date:
|
2008-07-09
|
|
Last Update:
|
2008-09-10
|
|
Popularity:
|
1,504 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
System access Security Bypass
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Moodle 1.8.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2008-1502
|
|
Description: Some vulnerabilities have been reported in Moodle, which can be exploited by malicious people to bypass certain security restrictions.
1) Vulnerabilities are caused due to insufficient filtering functions within /lib/kses.php and lib/weblib.php and can be exploited to bypass HTML filtering policies.
2) Input passed to a call to "preg_replace()" with the "e" modifier in kses.php is not properly sanitised before being used. This can be exploited to inject and execute arbitrary PHP code.
The vulnerabilities are reported in versions prior to 1.8.5.
Solution: Update to version 1.8.5 or upgrade to version 1.9.
The vendor recommends to use the option "Use HTML Purifier" in version 1.9.
Provided and/or discovered by: Lukasz Pilorz, Allegro.pl, additional information from zurlich.lpt
Changelog: 2008-09-10: Added vulnerability #2. Raised criticality. Added link to "Original Advisory" section.
Original Advisory: Moodle:
http://moodle.org/mod/forum/discuss.php?d=95031
http://milw0rm.com/exploits/6356
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|