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

high Nessus Plugin ID 17251
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 5.9

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

Dependencies: 12634

Risk Information

Risk Factor: High

VPR Score: 5.9

CVSS v2.0

Base Score: 7.5

Vector: 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

Exploit Available: undefined

Patch Publication Date: 3/1/2005

Reference Information

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