phpAlbum language.php data_dir Parameter Remote File Inclusion

high Nessus Plugin ID 21236

Synopsis

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

Description

The remote host is running phpAlbum, an open source web photo gallery written in PHP.

The version of phpAlbum installed on the remote host fails to sanitize user-supplied input to the 'data_dir' parameter of the 'language.php' script before using it in a PHP 'include()' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this issue to view arbitrary files on the remote host or to execute arbitrary PHP code, possibly taken from third-party hosts.

Solution

Unknown at this time.

See Also

https://downloads.securityfocus.com/vulnerabilities/exploits/phpalbum_poc

Plugin Details

Severity: High

ID: 21236

File Name: phpalbum_data_dir_file_include.nasl

Version: 1.23

Type: remote

Family: CGI abuses

Published: 4/17/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 4/15/2006

Reference Information

CVE: CVE-2006-1839

BID: 17526