GLSA-200508-21 : phpWebSite: Arbitrary command execution through XML-RPC and SQL injection

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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-200508-21
(phpWebSite: Arbitrary command execution through XML-RPC and SQL injection)

phpWebSite uses an XML-RPC library that improperly handles XML-RPC
requests and responses with malformed nested tags. Furthermore,
'matrix_killer' reported that phpWebSite is vulnerable to an SQL
injection attack.

Impact :

A malicious remote user could exploit this vulnerability to inject
arbitrary PHP script code into eval() statements by sending a specially
crafted XML document, and also inject SQL commands to access the
underlying database directly.

Workaround :

There is no known workaround at this time.

See also :

http://www.nessus.org/u?2c940bfa
http://www.gentoo.org/security/en/glsa/glsa-200508-21.xml

Solution :

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

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 19574 (gentoo_GLSA-200508-21.nasl)

Bugtraq ID:

CVE ID: CVE-2005-2498