GLSA-200503-04 : phpWebSite: Arbitrary PHP execution and path disclosure

high Nessus Plugin ID 17251

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-200503-04 (phpWebSite: Arbitrary PHP execution and path disclosure)

NST discovered that, when submitting an announcement, uploaded files aren't correctly checked for malicious code. They also found out that phpWebSite is vulnerable to a path disclosure.
Impact :

A remote attacker can exploit this issue to upload files to a directory within the web root. By calling the uploaded script the attacker could then execute arbitrary PHP code with the rights of the web server. By passing specially crafted requests to the search module, remote attackers can also find out the full path of PHP scripts.
Workaround :

There is no known workaround at this time.

Solution

All phpWebSite users should upgrade to the latest available version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-apps/phpwebsite-0.10.0-r2'

See Also

https://secuniaresearch.flexerasoftware.com/advisories/14399/

http://www.nessus.org/u?13948819

https://security.gentoo.org/glsa/200503-04

Plugin Details

Severity: High

ID: 17251

File Name: gentoo_GLSA-200503-04.nasl

Version: 1.17

Type: local

Published: 3/2/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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:phpwebsite, cpe:/o:gentoo:linux

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

Patch Publication Date: 3/1/2005

Reference Information

CVE: CVE-2005-0565, CVE-2005-0572

GLSA: 200503-04