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

Family: CGI

Published: 8/4/2008

Updated: 3/6/2019

Nessus ID: 33789

Risk Information

VPR

Risk Factor: Medium

Score: 6.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: High

Base Score: 7.3

Temporal Score: 7.1

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

Temporal Vector: CVSS:3.0/E:F/RL:U/RC:X

Vulnerability Information

CPE: cpe:/a:coppermine-gallery:coppermine_photo_gallery

Reference Information

CVE: CVE-2008-3486

BID: 30480