SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#584436

TWiki vulnerable to arbitrary code execution via CGI session files

Overview

TWiki fails to protect the CGI session directory, which may allow an attacker to execute arbitrary code with the privileges of the web server.

I. Description

TWiki is a web-based collaborative publishing environment. TWiki creates CGI session files in the global /tmp directory, which is generally world readable and writable. By creating CGI session files in this directory, an attacker may be able to execute arbitrary code.

II. Impact

An attacker with the ability to create files in the CGI session directory (usually /tmp) may be able to execute arbitrary code with the privileges of the web server.

III. Solution

Apply an update

This issue is addressed in TWikiRelease04x01x01, as specified in TWiki SecurityAlert-CVE-2007-0669.

Workarounds

TWiki SecurityAlert-CVE-2007-0669 suggests several workarounds, including:

  •  Restrict access to the TWiki server on file level and HTTP.
  •  If on a shared host, move TWiki to a dedicated host.
  •  Upgrade to TWikiRelease04x01x01 -- TWiki-4.1.1.zip (recommended)
  •  Apply a hotfix indicated below.

Systems Affected

VendorStatusDate NotifiedDate Updated
TWikiVulnerable8-Feb-2007

References


http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2007-0669
http://secunia.com/advisories/24091/

Credit

Thanks to Peter Thoeny for reporting this vulnerability.

This document was written by Will Dormann.

Other Information

Date Public:2007-02-08
Date First Published:2007-02-08
Date Last Updated:2007-02-14
CERT Advisory: 
CVE-ID(s):CVE-2007-0669
NVD-ID(s):CVE-2007-0669
US-CERT Technical Alerts: 
Metric:5.91
Document Revision:7

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader