phpSecurePages cfgProgDir Variable File Include Vulnerabilities

high Nessus Plugin ID 18659

Synopsis

The remote web server contains several PHP scripts that may allow arbitrary code execution and local file disclosure.

Description

The remote host is running phpSecurePages, a PHP module used to secure pages with a login name / password.

The installed version of phpSecurePages allows remote attackers to control the 'cfgProgDir' variable used when including PHP code in several of the application's scripts. By leveraging this flaw, an attacker may be able to view arbitrary files on the remote host and execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Unknown at this time.

See Also

https://secuniaresearch.flexerasoftware.com/advisories/15994/

Plugin Details

Severity: High

ID: 18659

File Name: phpsecurepages_cfgprogdir_file_includes.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 7/10/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

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:secure_reality:phpsecurepages

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/6/2005

Reference Information

CVE: CVE-2005-2251

BID: 14201