PBLang login.php lang Parameter Local File Inclusion

medium Nessus Plugin ID 25444

Synopsis

The remote web server contains a PHP script that is susceptible to a local file include attack.

Description

The remote host is running PBLang, a bulletin board system that uses flat files and is written in PHP.

The version of PBLang installed on the remote host fails to sanitize user input to the 'lang' parameter before using it to include PHP code in 'login.php'. Regardless of PHP's 'register_globals' setting, an unauthenticated, remote attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Unknown at this time.

Plugin Details

Severity: Medium

ID: 25444

File Name: pblang_lang_file_include.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 6/7/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 6/6/2007

Reference Information

CVE: CVE-2007-3096

BID: 24340