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

medium 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: Medium

ID: 3111

Family: CGI

Published: 7/25/2005

Updated: 3/6/2019

Nessus ID: 19299

Risk Information

VPR

Risk Factor: Low

Score: 3.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

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

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:H/RL:W/RC:X

Vulnerability Information

CPE: cpe:/a:atomic_photo_album:atomic_photo_album

Reference Information

CVE: CVE-2005-2413

BID: 14368