RunCMS Multiple Script lid Parameter SQL Injection

high Nessus Plugin ID 29853

Synopsis

The remote web server contains a PHP script that is prone to a SQL injection attack.

Description

The version of this software installed on the remote host fails to sanitize user-supplied input to the 'lid' parameter of the 'modules/mydownloads/visit.php' script before using it in a database query. Regardless of PHP's 'magic_quotes_gpc' and 'register_globals' settings, an attacker may be able to exploit this issue to manipulate database queries, leading to disclosure of sensitive information, modification of data, or attacks against the underlying database.

The application is also reportedly affected by similar issues in several other scripts, although Nessus has not tested for them.

Solution

Upgrade to RunCMS version 1.6.1 or later.

See Also

https://seclists.org/bugtraq/2007/Dec/296

http://www.nessus.org/u?dc35f905

Plugin Details

Severity: High

ID: 29853

File Name: runcms_lid_sql_injection.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 1/7/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Vulnerability Information

CPE: cpe:/a:runcms:runcms

Required KB Items: www/runcms

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2007-6544

BID: 27019

CWE: 89