Twiki rev Parameter Arbitrary Shell Command Execution

high Nessus Network Monitor Plugin ID 3223

Synopsis

An attacker can run arbitrary shell commands on the remote system.

Description

The remote host is running Twiki, an open-source wiki software written in Perl. This version of Twiki is vulnerable to a command insertion flaw. Specifically, an attacker sending a command (within backticks) to the 'rev' parameter would be able to execute arbitrary code on the web server. Example:

GET /cgi-bin/TwikiUsers?rev=1%20%7ccat%20/etc/passwd

Solution

Upgrade or patch according to vendor recommendations.

Plugin Details

Severity: High

ID: 3223

Family: CGI

Published: 9/15/2005

Updated: 3/6/2019

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

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

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.8

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

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

Vulnerability Information

CPE: cpe:/a:twiki:twiki

Exploitable With

Metasploit (TWiki History TWikiUsers rev Parameter Command Execution)

Reference Information

CVE: CVE-2005-2877, CVE-2005-3056

BID: 14834, 14960