PunBB search.php old_searches Parameter SQL Injection

medium Nessus Plugin ID 20013

Synopsis

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

Description

The version of PunBB installed on the remote host fails to sanitize user-supplied input to the 'old_searches' parameter of the 'search.php' script before using it in database queries. Provided PHP's 'register_globals' setting is enabled, an attacker may be able to exploit this issue to delete arbitrary data or launch attacks against the underlying database.

Solution

Upgrade to PunBB 1.2.9 or later.

See Also

https://www.securityfocus.com/archive/1/413481

Plugin Details

Severity: Medium

ID: 20013

File Name: punBB_129.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 10/17/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:punbb:punbb

Required KB Items: www/punBB

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 10/14/2005

Reference Information

CVE: CVE-2005-3518

BID: 15114