GLSA-200411-33 : TWiki: Arbitrary command execution

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200411-33
(TWiki: Arbitrary command execution)

The TWiki search function, which uses a shell command executed via the
Perl backtick operator, does not properly escape shell metacharacters
in the user-provided search string.

Impact :

An attacker can insert malicious commands into a search request,
allowing the execution of arbitrary commands with the privileges of the
user running TWiki (usually the Web server user).

Workaround :

There is no known workaround at this time.

See also :

http://www.nessus.org/u?73118a0b
http://www.gentoo.org/security/en/glsa/glsa-200411-33.xml

Solution :

All TWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-apps/twiki-20040902'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15827 (gentoo_GLSA-200411-33.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1037