PunBB include/common.php language Parameter Local File Inclusion

high Nessus Plugin ID 22932

Synopsis

The remote web server contains a PHP script that is affected by a local file include issue.

Description

The version of PunBB installed on the remote host fails to sanitize input to the 'language' parameter before storing it in the 'register.php' script as a user's preferred language setting. By registering with a specially crafted value, an attacker can leverage this issue to view arbitrary files and possibly execute arbitrary code on the affected host.

Solution

Update to version 1.2.14 or later.

See Also

https://www.securityfocus.com/archive/1/450055/30/0/threaded

http://forums.punbb.org/viewtopic.php?id=13496

Plugin Details

Severity: High

ID: 22932

File Name: punbb_register_lfi.nasl

Version: 1.24

Type: remote

Family: CGI abuses

Published: 11/3/2006

Updated: 6/1/2022

Configuration: Enable thorough checks

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

Temporal Vector: E:F/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: E:F/RL:O/RC:C

Vulnerability Information

Required KB Items: www/punBB

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 10/15/2006

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2006-5735

BID: 20786