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.
Original Advisory: Moodle:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Moodle Script Insertion and Cross-Site Request Forgery
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.