ADOdb server.php sql Parameter SQL Injection

high Nessus Plugin ID 20385

Synopsis

The remote web server has a PHP script that is affected by a SQL injection flaw.

Description

The remote host is running ADOdb, a database abstraction library for PHP.

The installed version of ADOdb includes a test script named 'server.php' that fails to sanitize user input to the 'sql' parameter before using it in database queries. An attacker can exploit this issue to launch SQL injection attacks against the underlying database.

Solution

Remove the test script or set a root password for MySQL.

See Also

https://secuniaresearch.flexerasoftware.com/community/research/

Plugin Details

Severity: High

ID: 20385

File Name: adodb_sql_sql_injection.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 1/10/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

Vulnerability Information

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 1/9/2006

Reference Information

CVE: CVE-2006-0146

BID: 16187

CWE: 89