TWiki CGI session files code execution

twiki-cgisession-code-execution (32389) The risk level is classified as HighHigh Risk


TWiki could allow an attacker to execute arbitrary code on the system, caused by insecure permissions in the global/tmp directory. By creating a specially-crafted CGI session file in the directory, a remote or local attacker could exploit this vulnerability to execute arbitrary Perl code with the privileges of the Web server process.


Base Score: 7
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed


Gain Privileges


Refer to TWiki Security Alert-CVE-2007-0669 for suggested patch, upgrade, or workaround information. See References.

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2007.009 for patch, upgrade, or suggested workaround information. See References.


  • TWiki SecurityAlert-CVE-2007-0669: Security Alert: Arbitrary code execution in session files (CVE-2007-0669) .
  • TWiki Web site: TWikiTM - A Web Based Collaboration Platform.
  • BID-22378: TWiki CGI Session File Code Execution Vulnerability
  • CVE-2007-0669: Unspecified vulnerability in Twiki 4.0.0 through 4.1.0 allows local users to execute arbitrary Perl code via unknown vectors related to CGI session files.
  • OpenPKG-SA-2007.009: twiki
  • OSVDB ID: 33168: TWiki CGI Session File Arbitrary Perl Code Execution
  • SA24091: TWiki CGI Session File Unspecified Perl Code Execution
  • US-CERT VU#584436: TWiki vulnerable to arbitrary code execution via CGI session files

Platforms Affected:

  • OpenPKG OpenPKG 2-STABLE
  • TWiki TWiki 4.0.0
  • TWiki TWiki 4.0.1
  • TWiki TWiki 4.0.2
  • TWiki TWiki 4.0.3
  • TWiki TWiki 4.0.4
  • TWiki TWiki 4.0.5
  • TWiki TWiki 4.1.0
  • TWiki TWiki SessionPlugin 1.x
  • TWiki TWiki SessionPlugin 2.x


Feb 08, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page