DatsoGallery Component for Joomla! sub_votepic.php User-Agent HTTP Header SQLi

high Nessus Plugin ID 32317

Synopsis

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

Description

The version of the DatsoGallery component for Joomla! or Mambo running on the remote host is affected by a SQL injection vulnerability in sub_votepic.php due to improper sanitization of user-supplied input to the User-Agent header before using it to construct database queries. 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

Unknown at this time.

Plugin Details

Severity: High

ID: 32317

File Name: datsogallery_user_agent_sql_injection.nasl

Version: 1.24

Type: remote

Family: CGI abuses

Published: 5/14/2008

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.8

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: 6.9

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:P/RL:U/RC:X

Vulnerability Information

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 5/10/2008

Reference Information

CVE: CVE-2008-5208

BID: 29138

CWE: 89

SECUNIA: 30139