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

File Name: 3223.prm

Family: CGI

Published: 2005/09/15

Modified: 2016/02/05

Dependencies: 1442

Risk Information

Risk Factor: High

CVSSv2

Base Score: 8.5

Temporal Score: 7.4

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

CVSSv3

Base Score: 8.1

Temporal Score: 7.7

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Temporal Vector: CVSS3#E:H/RL:O/RC:C

Exploitable With

Metasploit (TWiki History TWikiUsers rev Parameter Command Execution)

Reference Information

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

BID: 14834, 14960