Moodle 1.8.2 spell-check-logic.cgi link following

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.0$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in Moodle 1.8.2. This issue affects some unknown processing of the file spell-check-logic.cgi. Such manipulation leads to link following. This vulnerability is traded as CVE-2008-5153. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Moodle 1.8.2 (Learning Management Software) and classified as critical. Affected by this issue is an unknown part of the file spell-check-logic.cgi. The manipulation with an unknown input leads to a link following vulnerability. Using CWE to declare the problem leads to CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. Impacted is confidentiality, integrity, and availability. CVE summarizes:

spell-check-logic.cgi in Moodle 1.8.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/spell-check-debug.log, (2) /tmp/spell-check-before, or (3) /tmp/spell-check-after temporary file.

The bug was discovered 08/11/2008. The weakness was shared 11/18/2008 (Website). The advisory is shared for download at lists.debian.org. This vulnerability is handled as CVE-2008-5153 since 11/18/2008. The attack needs to be approached locally. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 99 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 35691 (Debian DSA-1724-1 : moodle - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175148 (Debian Security Update for Moodle (DSA-1724)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (46708), Tenable (35691), SecurityFocus (BID 32402†), OSVDB (49987†) and Secunia (SA33955†). The entries VDB-46404, VDB-46402, VDB-45108 and VDB-45105 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 8.0

VulDB Base Score: 8.4
VulDB Temp Score: 8.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Link following
CWE: CWE-59
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 35691
Nessus Name: Debian DSA-1724-1 : moodle - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 63410
OpenVAS Name: Debian Security Advisory DSA 1724-1 (moodle)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

08/11/2008 🔍
08/11/2008 +0 days 🔍
08/11/2008 +0 days 🔍
11/18/2008 +99 days 🔍
11/18/2008 +0 days 🔍
11/18/2008 +0 days 🔍
01/26/2009 +69 days 🔍
02/13/2009 +18 days 🔍
02/16/2009 +3 days 🔍
02/17/2009 +1 days 🔍
03/17/2015 +2219 days 🔍
08/26/2019 +1623 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: lists.debian.org
Status: Not defined

CVE: CVE-2008-5153 (🔍)
GCVE (CVE): GCVE-0-2008-5153
GCVE (VulDB): GCVE-100-45104

OVAL: 🔍

X-Force: 46708
SecurityFocus: 32402 - Moodle 'spell-check-logic.cgi' Insecure Temporary File Creation Vulnerability
Secunia: 33955
OSVDB: 49987 - CVE-2008-5153 - Moodle - Insecure Temporary File Creation Issue
Vulnerability Center: 20644 - Moodle 1.8.2 spell-check-logic.cgi Local Files Overwrite Vulnerability via a Symlink Attack, Medium

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/26/2019 09:39
Changes: 03/17/2015 16:11 (78), 08/26/2019 09:39 (5)
Complete: 🔍
Cache ID: 216:421:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!