GLSA-200705-16 : PhpWiki: Remote execution of arbitrary code

high Nessus Plugin ID 25262

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200705-16 (PhpWiki: Remote execution of arbitrary code)

Harold Hallikainen has reported that the Upload page fails to properly check the extension of a file.
Impact :

A remote attacker could upload a specially crafted PHP file to the vulnerable server, resulting in the execution of arbitrary PHP code with the privileges of the user running PhpWiki.
Workaround :

There is no known workaround at this time.

Solution

All PhpWiki users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-apps/phpwiki-1.3.10-r3'

See Also

https://security.gentoo.org/glsa/200705-16

Plugin Details

Severity: High

ID: 25262

File Name: gentoo_GLSA-200705-16.nasl

Version: 1.14

Type: local

Published: 5/20/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:phpwiki, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 5/17/2007

Vulnerability Publication Date: 4/8/2007

Reference Information

CVE: CVE-2007-2024, CVE-2007-2025

GLSA: 200705-16