SQL injection in Moodle - CVE-2012-3395

 

SQL injection in Moodle - CVE-2012-3395

Published: July 24, 2012 / Updated: January 16, 2023


Vulnerability identifier: #VU43795
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-3395
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote privileged user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Moodle
Fedora
moodle

How to mitigate CVE-2012-3395

Install update from vendor's website.

moodle - addressed in versions 1.9.19-1.el5, 1.9.19-2.el5, 1.9.19-3.el5, 2.1.7-1.el6

External References

Related Security Bulletins