phpPgAdmin index.php formLanguage Parameter Local File Inclusion

medium Nessus Plugin ID 18637

Synopsis

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

Description

The remote host is running phpPgAdmin, a web-based administration tool for PostgreSQL.

The installed version of phpPgAdmin fails to filter directory traversal sequences from user input supplied to the 'formLanguage' parameter of the login form. An attacker can exploit this issue to read files outside the application's document directory and to include arbitrary PHP files from the remote host, subject to the privileges of the web server userid.

Solution

Upgrade to phpPgAdmin 3.5.4 or later.

See Also

http://www.vuxml.org/freebsd/88188a8c-eff6-11d9-8310-0001020eed82.html

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

Plugin Details

Severity: Medium

ID: 18637

File Name: phppgadmin_formlanguage_dir_traversal.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 7/7/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4

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

Vulnerability Information

CPE: cpe:/a:phppgadmin:phppgadmin

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/4/2005

Reference Information

CVE: CVE-2005-2256

BID: 14142