FreeBSD : twiki -- arbitrary shell command execution (b4af3ede-36e9-11d9-a9e7-0001020eed82)

Critical Nessus Plugin ID 36281


The remote FreeBSD host is missing a security-related update.


Hans Ulrich Niedermann reports :

The TWiki search function uses a user-supplied search string to compose a command line executed by the Perl backtick (``) operator.

The search string is not checked properly for shell metacharacters and is thus vulnerable to search string containing quotes and shell commands.

IMPACT: An attacker is able to execute arbitrary shell commands with the privileges of the TWiki process.


Update the affected package.

See Also

Plugin Details

Severity: Critical

ID: 36281

File Name: freebsd_pkg_b4af3ede36e911d9a9e70001020eed82.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2009/04/23

Modified: 2013/11/06

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:twiki, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2004/11/15

Vulnerability Publication Date: 2004/11/12

Exploitable With

Metasploit (TWiki Search Function Arbitrary Command Execution)

Reference Information

CVE: CVE-2004-1037