TWiki 'debugenableplugins' Parameter RCE

high Nessus Plugin ID 82898

Synopsis

The remote web server hosts a CGI script that is affected by a remote code execution vulnerability.

Description

The version of TWiki installed on the remote host is affected by a remote code execution vulnerability due to a failure to properly sanitize user-supplied input to the 'debugenableplugins' parameter upon submission to the 'view' script. A remote, unauthenticated attacker can exploit this issue to execute arbitrary Perl code subject to the privileges of the web server user id.

Note that the application is reportedly also affected by a file upload vulnerability when installed on Windows hosts; however, Nessus has not tested for this issue.

Solution

Upgrade to TWiki version 6.0.1 or later. Alternatively, apply the hotfix referenced in the vendor advisory.

See Also

http://twiki.org/cgi-bin/view/Codev/TWikiRelease06x00x01

http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2014-7236

Plugin Details

Severity: High

ID: 82898

File Name: twiki_debugenableplugins_rce.nasl

Version: 1.12

Type: remote

Family: CGI abuses

Published: 4/20/2015

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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 Score Source: CVE-2014-7236

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 Available: true

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 10/9/2014

Vulnerability Publication Date: 10/9/2014

Exploitable With

Metasploit (TWiki Debugenableplugins Remote Code Execution)

Elliot (TWiki debugenableplugins RCE)

Reference Information

CVE: CVE-2014-7236

BID: 70372