Moodle 1.6.1 adodb-lib.inc.php insert_record blogentry Stored sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Moodle 1.6.1. Affected by this vulnerability is the function insert_record in the library lib/adodb/adodb-lib.inc.php. The manipulation of the argument blogentry leads to sql injection (Stored).
This vulnerability is referenced as CVE-2006-4785. Remote exploitation of the attack is possible. No exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Moodle 1.6.1 (Learning Management Software). This issue affects the function insert_record in the library lib/adodb/adodb-lib.inc.php. The manipulation of the argument blogentry with an unknown input leads to a sql injection vulnerability (Stored). Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the format parameter as stored in the $blogEntry variable, which is not properly handled by the insert_record function, which calls _adodb_column_sql in the adodb layer (lib/adodb/adodb-lib.inc.php), which does not convert the data type to an int.
The bug was discovered 09/17/2006. The weakness was published 09/14/2006 by omid (Website). The advisory is shared at securityfocus.com. The identification of this vulnerability is CVE-2006-4785 since 09/13/2006. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
It is declared as proof-of-concept. By approaching the search of inurl:lib/adodb/adodb-lib.inc.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 22364 (Moodle < 1.6.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.
Upgrading eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (28904), Tenable (22364), SecurityFocus (BID 20085†), OSVDB (30841†) and Secunia (SA21899†). Similar entries are available at VDB-32415, VDB-32414, VDB-32413 and VDB-32412. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
- Product: https://moodle.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: StoredClass: Sql injection / Stored
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 22364
Nessus Name: Moodle < 1.6.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
09/12/2006 🔍09/13/2006 🔍
09/13/2006 🔍
09/13/2006 🔍
09/14/2006 🔍
09/14/2006 🔍
09/15/2006 🔍
09/17/2006 🔍
09/18/2006 🔍
09/18/2006 🔍
09/19/2006 🔍
03/12/2015 🔍
07/08/2019 🔍
Sources
Product: moodle.orgAdvisory: securityfocus.com⛔
Researcher: omid
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2006-4785 (🔍)
GCVE (CVE): GCVE-0-2006-4785
GCVE (VulDB): GCVE-100-32285
X-Force: 28904
SecurityFocus: 20085 - Moodle Edit.PHP SQL Injection Vulnerability
Secunia: 21899 - Moodle Multiple Vulnerabilities, Moderately Critical
OSVDB: 30841 - Moodle blog/edit.php SQL injection
SecurityTracker: 1016877
Vulnerability Center: 12734 - Moodle SQL Injection in the adodb Layer, Medium
Vupen: ADV-2006-3591
See also: 🔍
Entry
Created: 03/12/2015 15:51Updated: 07/08/2019 16:43
Changes: 03/12/2015 15:51 (71), 07/08/2019 16:43 (13)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.