Atomic Photo Album apa_phpinclude.inc.php apa_module_basedir Parameter Remote File Inclusion

High Nessus Network Monitor Plugin ID 3111

Synopsis

The remote host is vulnerable to a Script Injection attack.

Description

The remote host is running Atomic Photo Album, a free PHP-based photo gallery. The installed version of Atomic Photo Album allows remote attackers to control the 'apa_module_basedir' variable used when including PHP code in the 'apa_phpinclude.inc.php' script. 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

Enable PHP's 'magic_quotes_gpc' setting and disable 'allow_url_fopen'.

See Also

http://www.securityfocus.com/archive/1/406364/30/0/threaded

Plugin Details

Severity: High

ID: 3111

File Name: 3111.prm

Family: CGI

Published: 2005/07/25

Modified: 2016/01/22

Dependencies: 1442

Nessus ID: 19299

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 7.1

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

Temporal Vector: CVSS2#E:H/RL:W/RC:ND

CVSSv3

Base Score: 7.3

Temporal Score: 7.1

Vector: CVSS3#AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:H/RL:W/RC:X

Reference Information

CVE: CVE-2005-2413

BID: 14368