YaNC Component for Joomla! 'listid' Parameter SQLi

high Nessus Plugin ID 25243

Synopsis

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

Description

The version of the YaNC component for Joomla! and Mambo running on the remote host is affected by a SQL injection vulnerability in the components/com_yanc/yanc.html.php script due to improper sanitization of user-supplied input to the 'listid' parameter before using it to construct database queries in the showPageHeader() function.
Regardless of the PHP 'magic_quotes_gpc' setting, an unauthenticated, remote attacker can exploit this issue to manipulate database queries, resulting in disclosure of sensitive information, modification of data, or other attacks against the underlying database.

Solution

Upgrade to Joomla! version 1.0.10 or later along with YaNC 1.4 RC1 or later. Alternatively, edit the source as described in the author's advisory referenced above.

See Also

http://www.nessus.org/u?87bc31f2

Plugin Details

Severity: High

ID: 25243

File Name: yanc_listid_sql_injection.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 5/17/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:joomla:joomla%5c%21

Required KB Items: www/PHP

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 5/17/2007

Reference Information

CVE: CVE-2007-2792

BID: 24030