FreeBSD : coppermine -- File Inclusion Vulnerabilities (77cceaef-e9a4-11da-b9f4-00123ffe8333)

medium Nessus Plugin ID 21587

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Secunia reports :

Coppermine Photo Gallery have a vulnerability, which can be exploited by malicious people and by malicious users to compromise a vulnerable system.

1) Input passed to the 'lang' parameter in include/init.inc.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. The vulnerability can be further exploited by users who are allowed to upload image files to execute arbitrary PHP code.

2) Input passed to the 'f' parameter in docs/showdoc.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources on the Windows platform, and remote files from Windows shared folders.

Solution

Update the affected package.

See Also

http://retrogod.altervista.org/cpg_143_adv.html

http://www.nessus.org/u?942831fa

Plugin Details

Severity: Medium

ID: 21587

File Name: freebsd_pkg_77cceaefe9a411dab9f400123ffe8333.nasl

Version: 1.15

Type: local

Published: 5/23/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:coppermine, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 5/22/2006

Vulnerability Publication Date: 2/20/2006

Reference Information

CVE: CVE-2006-0872, CVE-2006-0873

Secunia: 18941