Moodle 'index.php' 'tag' Parameter SQL Injection

medium Nessus Plugin ID 22527

Synopsis

The remote web server contains a PHP application that is affected by a SQL injection vulnerability.

Description

The installed version of Moodle fails to properly sanitize user- supplied input to the 'tag' parameter of the 'blog/index.php' script before using it in database queries. Provided the blog feature is enabled, an unauthenticated attacker can leverage this issue to manipulate database queries to reveal sensitive information, modify data, and launch attacks against the underlying database.

Solution

Apply the patch from CVS or restrict access to the blog feature.

See Also

https://seclists.org/fulldisclosure/2006/Oct/129

https://seclists.org/fulldisclosure/2006/Oct/137

Plugin Details

Severity: Medium

ID: 22527

File Name: moodle_blog_tag_sql_injection.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 10/10/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.2

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:moodle:moodle

Required KB Items: www/PHP, installed_sw/Moodle

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/8/2006

Vulnerability Publication Date: 10/8/2006

Reference Information

CVE: CVE-2006-5219

BID: 20395