TWiki 'rev' Parameter Arbitrary Command Execution

high Nessus Plugin ID 19704

Synopsis

The remote web server hosts a CGI application that is affected by an arbitrary command execution vulnerability.

Description

The version of TWiki running on the remote host allows an attacker to manipulate input to the 'rev' parameter in order to execute arbitrary shell commands on the remote host subject to the privileges of the web server user id.

Solution

Apply the appropriate hotfix referenced in the vendor advisory.

See Also

http://www.nessus.org/u?c70904f3

Plugin Details

Severity: High

ID: 19704

File Name: twiki_rev_cmd_exec.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 9/15/2005

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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: 8.2

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:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:twiki:twiki

Required KB Items: installed_sw/TWiki

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 9/11/2004

Vulnerability Publication Date: 9/13/2005

Exploitable With

Metasploit (TWiki History TWikiUsers rev Parameter Command Execution)

Reference Information

CVE: CVE-2005-2877

BID: 14834