Phpauction <= 2.5 Multiple Vulnerabilities

high Nessus Plugin ID 19227

Synopsis

The remote web server contains a PHP application that is affected by multiple vulnerabilities.

Description

The remote host is running Phpauction or one of its affiliate versions, such as Web2035 Auction. Phpauction is a web-based auction system written in PHP.

The version of Phpauction on the remote host suffers from multiple flaws :

- Remote Code Execution An attacker can control the 'lan' variable used to include PHP code in the 'index.php' and 'admin/index.php' scripts, which may allow the viewing of arbitrary files on the remote host and execution of arbitrary PHP code, possibly even taken from third-party hosts.

- Authentication Bypass By setting the cookie 'PHPAUCTION_RM_ID' to the id of an existing user, an attacker can bypass authentication.

- SQL Injection The application does not properly sanitize user-supplied input to the 'category' parameter of the 'adsearch.php' script before using it in database queries.

- Multiple Cross-Site Scripting Flaws The application fails to sanitize user-supplied input to several scripts before using it in dynamically- generated pages, which allows for cross-site scripting attacks.

Solution

Unknown at this time.

See Also

http://securitytracker.com/alerts/2005/Jul/1014423.html

Plugin Details

Severity: High

ID: 19227

File Name: phpauction_mult_vulns.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 7/20/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: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:phpauction:phpauction

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2005-2252, CVE-2005-2253, CVE-2005-2254, CVE-2005-2255

BID: 14184