phpLDAPadmin custom_welcome_page Parameter File Include Vulnerability

high Nessus Plugin ID 19547

Synopsis

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

Description

The remote host appears to be running phpLDAPadmin, a PHP-based LDAP browser.

The version of phpLDAPadmin installed on the remote host fails to properly sanitize user-supplied input to the 'custom_welcome_page' parameter of the 'welcome.php' script before using it to include PHP code. 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

Upgrade to phpLDAPadmin 0.9.7-alpha6 or later.

See Also

http://www.nessus.org/u?e281f575

https://seclists.org/bugtraq/2005/Aug/414

Plugin Details

Severity: High

ID: 19547

File Name: phpldapadmin_custom_welcome_page_file_include.nasl

Version: 1.23

Type: remote

Family: CGI abuses

Published: 8/31/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:deon_george:phpldapadmin

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/29/2005

Reference Information

CVE: CVE-2005-2792, CVE-2005-2793

BID: 14695