TWiki < 5.1.4 MAKETEXT Variable Tilde Character Command Injection

Medium Nessus Plugin ID 64876


The remote web server hosts a CGI application that is affected by a command injection vulnerability.


According to its version number, the instance of TWiki running on the remote host is affected by a command injection vulnerability. The '%MAKETEXT{}%' variable fails to properly sanitize user-supplied input. A remote attacker can exploit this issue to execute arbitrary shell commands on the remote host subject to the privileges of the web server user.

Note that only TWiki installs with localization enabled are affected.

Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


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

See Also

Plugin Details

Severity: Medium

ID: 64876

File Name: twiki_5_1_4.nasl

Version: 1.6

Type: remote

Family: CGI abuses

Published: 2013/02/25

Modified: 2018/08/01

Dependencies: 19941

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

Temporal Score: 5

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

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

Vulnerability Information

CPE: cpe:/a:twiki:twiki

Required KB Items: Settings/ParanoidReport, installed_sw/TWiki

Exploit Available: false

Exploit Ease: No exploit is required

Patch Publication Date: 2013/02/18

Vulnerability Publication Date: 2013/02/18

Reference Information

CVE: CVE-2013-1751

BID: 58024