Moodle Multiple Input Validation Vulnerabilities

BID:12120

Info

Moodle Multiple Input Validation Vulnerabilities

Bugtraq ID: 12120
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Dec 28 2004 12:00AM
Updated: Dec 28 2004 12:00AM
Credit: Bartek Nowotarski <[email protected]> is credited with the discovery of these issues.
Vulnerable: Moodle moodle 1.4.2
Moodle moodle 1.4.1
Moodle moodle 1.3.4
Moodle moodle 1.3.3
Moodle moodle 1.3.2
Moodle moodle 1.3.1
Moodle moodle 1.3
Moodle moodle 1.2.1
Moodle moodle 1.2
Moodle moodle 1.1.1
Not Vulnerable: Moodle moodle 1.4.3

Discussion

Moodle Multiple Input Validation Vulnerabilities

Two input validation vulnerabilities reportedly affect Moodle. These issues are due to a failure of the application to properly sanitize user-supplied input prior to using it in application-critical actions such as generating web content or loading scripts.

The first issue is a cross-site scripting vulnerability. The second issue is a directory traversal issue that may allow attackers to gain access to session data.

An attacker may leverage these issues to execute arbitrary client-side script code in the browsers of unsuspecting users through cross-site scripting attacks and gain access to sensitive session credentials through directory traversal attacks. Other attacks are also possible.

Exploit / POC

Moodle Multiple Input Validation Vulnerabilities

No exploit is required to leverage either of these issues. The following proof of concepts have been released.

http://www.example.com/moodle/mod/forum/view.php?id=1&search=moodle%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
http://www.example.com/moodle/file.php?file=/1/../sessions/sess_6ac3b47ee23c6aa55896f4cd68af9622

Solution / Fix

Moodle Multiple Input Validation Vulnerabilities

Solution:
The vendor has released version 1.4.3 of the affected software resolving these issues.


Moodle moodle 1.1.1

Moodle moodle 1.2

Moodle moodle 1.2.1

Moodle moodle 1.3

Moodle moodle 1.3.1

Moodle moodle 1.3.2

Moodle moodle 1.3.3

Moodle moodle 1.3.4

Moodle moodle 1.4.1

Moodle moodle 1.4.2

References

Moodle Multiple Input Validation Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report