Secunia Logo
Netsikker nu! 2008
 
Moodle Script Insertion and Cross-Site Request Forgery
Secunia Advisory: SA31196
Release Date: 2008-07-23
Last Update: 2008-07-28
Popularity: 1,903 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:Moodle 1.6.x
Moodle 1.7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-3325
CVE-2008-3326


Description:
ProCheckUp Ltd have reported two vulnerabilities in Moodle, which can be exploited by malicious users to conduct script insertion attacks, and by malicious people to conduct cross-site request forgery attacks.

1) Input passed to the "etitle" parameter in blog/edit.php is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed.

Successful exploitation of this vulnerability requires valid user credentials with the capability to add new blog entries, and that the blog is enabled.

2) A vulnerability is caused due to the application allowing users to perform certain actions via HTTP requests without performing any validity checks to verify the request. This can be exploited to change an administrator's e-mail address, by enticing a logged-in administrator to visit a malicious web page. This can further be exploited to change the administrator's password and log in as the administrator.

The vulnerabilities are reported in all 1.6.x versions before 1.6.7 and all 1.7.x versions before 1.7.5.

Solution:
Update to version 1.6.7 or 1.7.5.

Provided and/or discovered by:
Adrian Pastor and Amir Azam, ProCheckUp Ltd.

Changelog:
2008-07-28: Added CVE references.

Original Advisory:
Moodle:
1) http://moodle.org/mod/forum/discuss.php?d=101401
2) http://moodle.org/mod/forum/discuss.php?d=101405

ProCheckUp:
1) http://www.procheckup.com/Vulnerability_PR08-13.php
2) http://www.procheckup.com/Vulnerability_PR08-16.php


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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 31 views
2. CA ARCserve Backup Multiple Vulnerabilities // 30 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 27 views
4. Built2go Real Estate Listings "event_id" SQL Injection // 25 views
5. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 25 views
6. pMachine "pm_path" File Inclusion Vulnerability // 25 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 23 views
8. Red Hat update for cups // 23 views
9. CUPS Multiple Vulnerabilities // 22 views
10. Ubuntu update for ruby1.8 // 20 views