PunBB < 1.2.6 Multiple Vulnerabilities

high Nessus Plugin ID 18658

Synopsis

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

Description

The remote version of PunBB contains a flaw in its template system that can be exploited to read arbitrary local files or, if an attacker can upload a specially crafted avatar, to execute arbitrary PHP code.

In addition, the application fails to sanitize the 'temp' parameter of the 'profile.php' script before using it in a database query, which allows for SQL injection attacks.

Solution

Upgrade to PunBB 1.2.6 or later.

See Also

http://www.nessus.org/u?b029055d

http://www.nessus.org/u?7e87ce53

https://securitytracker.com/id?1014420

Plugin Details

Severity: High

ID: 18658

File Name: punBB_126.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 7/10/2005

Updated: 6/1/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

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

Required KB Items: www/punBB

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/7/2005

Reference Information

CVE: CVE-2005-2193

BID: 14195, 14196