SimpleFAQ Component for Joomla! 'aid' Parameter SQLi

high Nessus Plugin ID 25930

Synopsis

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

Description

The version of the SimpleFAQ component for Joomla! and Mambo running on the remote host is affected by a SQL injection vulnerability in the simplephp.php script due to improper sanitization of user-supplied input to the 'aid' parameter before using it to construct database queries in the showAnswers() 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 SimpleFAQ version 2.50 or later.

See Also

https://www.securityfocus.com/archive/1/477174/30/0/threaded

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

Plugin Details

Severity: High

ID: 25930

File Name: simplefaq_aid_sql_injection.nasl

Version: 1.27

Type: remote

Family: CGI abuses

Published: 8/24/2007

Updated: 6/4/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 8/23/2007

Vulnerability Publication Date: 8/20/2007

Reference Information

CVE: CVE-2007-4456

BID: 25376

CWE: 89