FreeBSD : twiki -- multiple file extensions file upload vulnerability (a876df84-0fef-11db-ac96-000c6ec775d9)

medium Nessus Plugin ID 22007

Synopsis

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

Description

A TWiki Security Alert reports :

The TWiki upload filter already prevents executable scripts such as .php, .php1, .phps, .pl from potentially getting executed by appending a .txt suffix to the uploaded filename. However, PHP and some other types allows additional file suffixes, such as .php.en, .php.1, and .php.2. TWiki does not check for these suffixes, e.g. it is possible to upload php scripts with such suffixes without the .txt filename padding.

This issue can also be worked around with a restrictive web server configuration. See the

TWiki Security Alert for more information about how to do this.

Solution

Update the affected package.

See Also

http://twiki.org/cgi-bin/view/Codev/SecurityAlertSecureFileUploads

http://www.nessus.org/u?f527d788

Plugin Details

Severity: Medium

ID: 22007

File Name: freebsd_pkg_a876df840fef11dbac96000c6ec775d9.nasl

Version: 1.15

Type: local

Published: 7/10/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.3

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

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: 7/10/2006

Vulnerability Publication Date: 7/5/2006

Reference Information

CVE: CVE-2006-3336

BID: 18854

Secunia: 20992