OpenBiblio < 0.5.2 Multiple Scripts Local File Inclusion

high Nessus Plugin ID 22496

Synopsis

The remote web server contains a PHP application that is affected by multiple local file include issues.

Description

The remote host is running OpenBiblio, a free, automated library system written in PHP.

The version of OpenBiblio installed on the remote host fails to sanitize user-supplied input to the 'tab' and 'page' parameters of the 'shared/header.php' and 'shared/help.php' scripts, respectively before using it to include PHP code. An unauthenticated, remote attacker may be able to exploit these issues 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

Upgrade to OpenBiblio 0.5.2 or later.

See Also

http://sourceforge.net/project/shownotes.php?release_id=451780

Plugin Details

Severity: High

ID: 22496

File Name: openbiblio_052.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 10/3/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

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:openbiblio:openbiblio

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 9/30/2006

Reference Information

CVE: CVE-2006-5149

BID: 20301

CWE: 22