pMachine mail_autocheck.php Arbitrary Code Execution

high Nessus Plugin ID 17152

Synopsis

Arbitrary commands may be run on the remote server.

Description

It is possible to make the remote host include PHP files hosted on a third-party server using the pmachine CGI suite which is installed.

An attacker may use this flaw to inject arbitrary code in the remote host and gain a shell with the privileges of the web server.

Solution

Upgrade to the latest version.

Plugin Details

Severity: High

ID: 17152

File Name: pmachine_code_injection2.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 2/19/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

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 Score Source: CVE-2005-0513

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

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

Vulnerability Publication Date: 2/20/2005

Reference Information

CVE: CVE-2005-0513

BID: 12597