Coppermine Photo Gallery < 1.4.19 data Cookie Local File Inclusion

High Nessus Network Monitor Plugin ID 4613

Synopsis

The remote web server contains a PHP application that is affected by a local file inclusion vulnerability.

Description

The version of Coppermine installed on the remote host fails to sanitize input to the 'lang' array element of its data cookie before using it in 'include/init.inc.php' to include PHP code. Provided the application's character set is set to 'utf-8', which is default, an unauthenticated remote attacker can exploit this issue to view arbitrary files or possibly to execute arbitrary PHP code on the remote host subject to the privileges of the web server user ID.

Solution

Upgrade to version 1.4.19 or higher.

See Also

http://forum.coppermine-gallery.net/index.php/topic

54235.0.html

Plugin Details

Severity: High

ID: 4613

File Name: 4613.prm

Family: CGI

Published: 2008/08/04

Modified: 2016/01/21

Dependencies: 1442

Nessus ID: 33789

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:F/RL:U/RC:ND

CVSSv3

Base Score: 7.3

Temporal Score: 7.1

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

Temporal Vector: CVSS3#E:F/RL:U/RC:X

Reference Information

CVE: CVE-2008-3486

BID: 30480

OSVDB: 47250