phpRPC Library rpc_decoder.php decode() Function Arbitrary Code Execution

high Nessus Plugin ID 20986

Synopsis

The remote web server contains a PHP library that is prone to arbitrary code execution.

Description

The remote host has installed on it the phpRPC library, an xmlrpc library written in PHP and bundled with applications such as RunCMS and exoops.

The version of phpRPC on the remote host fails to sanitize user input to the 'server.php' script before using it in an 'eval()' function, which may allow for remote code to be executed on the affected host subject to the privileges of the web server userid.

Note that successful exploitation may require that the phpRPC library be enabled in, say, RunCMS, which is not necessarily the default.

Solution

Disable or remove the affected library.

See Also

http://www.gulftech.org/?node=research&article_id=00105-02262006

https://www.securityfocus.com/archive/1/426193/30/0/threaded

Plugin Details

Severity: High

ID: 20986

File Name: runcms_phprpc_code_injection.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 2/28/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 2/26/2006

Reference Information

CVE: CVE-2006-1032

BID: 16833