Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Moodle Script Insertion and Cross-Site Request Forgery

Secunia Advisory: SA31196  
Release Date: 2008-07-23
Last Update: 2008-07-28

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

Software:Moodle 1.6.x
Moodle 1.7.x

CVE reference:CVE-2008-3325 (Secunia mirror)
CVE-2008-3326 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


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



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.

4 Related Secunia Security Advisories

1. Moodle KSES HTML Filter Bypass Vulnerability
2. Moodle Two Cross-Site Scripting Vulnerabilities
3. Moodle "tag" SQL Injection Vulnerability
4. Moodle Multiple Vulnerabilities


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
2.
HP-UX update for Apache
3.
Red Hat Directory Server Multiple Vulnerabilities
4.
JustSystems Ichitaro Products Unspecified Code Execution Vulnerability
5.
Red Hat update for tomcat
6.
Tiger "genmsgidx" Insecure Temporary Files
7.
R "javareconf" Insecure Temporary Files
8.
Red Hat update for openoffice.org
9.
Citadel "migrate_aliase s.sh" Insecure Temporary Files
10.
Red Hat Directory Server Denial of Service Vulnerabilities





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia