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

critical Nessus Plugin ID 36281

Synopsis

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

Description

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.

Solution

Update the affected package.

See Also

https://marc.info/?l=bugtraq&m=110037207516456

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

http://www.nessus.org/u?5bbcb20d

Plugin Details

Severity: Critical

ID: 36281

File Name: freebsd_pkg_b4af3ede36e911d9a9e70001020eed82.nasl

Version: 1.16

Type: local

Published: 4/23/2009

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: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: 11/15/2004

Vulnerability Publication Date: 11/12/2004

Exploitable With

Metasploit (TWiki Search Function Arbitrary Command Execution)

Reference Information

CVE: CVE-2004-1037