2BGal disp_album.php id_album Parameter SQL Injection

high Nessus Plugin ID 16046

Synopsis

The remote web server contains a PHP application that is susceptible to a SQL injection attack.

Description

The remote host appears to be running 2BGal, a photo gallery software written in PHP.

There is a flaw in the 'disp_album.php' script which fails to sanitize input to the 'id_album' field. This may allow anyone to inject arbitrary SQL commands. An attacker could exploit this to obtain sensitive information and possibly gain administrative access to the remote web application.

Solution

The solution is unknown at this time.

See Also

https://seclists.org/bugtraq/2004/Dec/341

Plugin Details

Severity: High

ID: 16046

File Name: 2bgal_sql_injection.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 12/23/2004

Updated: 1/19/2021

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 12/22/2004

Reference Information

CVE: CVE-2004-1415

BID: 12083