GLSA-200411-33 : TWiki: Arbitrary command execution

critical Nessus Plugin ID 15827

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.

Solution

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

See Also

http://www.nessus.org/u?73118a0b

https://security.gentoo.org/glsa/200411-33

Plugin Details

Severity: Critical

ID: 15827

File Name: gentoo_GLSA-200411-33.nasl

Version: 1.20

Type: local

Published: 11/24/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

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:gentoo:linux:twiki, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/24/2004

Vulnerability Publication Date: 11/13/2004

Exploitable With

Metasploit (TWiki Search Function Arbitrary Command Execution)

Reference Information

CVE: CVE-2004-1037

GLSA: 200411-33