Secunia Logo
Netsikker nu! 2008
 
TWiki CGI Session File Unspecified Perl Code Execution
Secunia Advisory: SA24091
Release Date: 2007-02-09
Popularity: 6,829 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:TWiki

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-0669


Description:
Andrew Moise has reported a vulnerability in TWiki, which can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to the program loading and executing CGI session files from a temporary directory (by default the world-writable "/tmp"). This can be exploited by creating a specially crafted CGI session file in the directory, which causes it to be loaded and executed as Perl code with the privileges of the web server under unspecified circumstances.

NOTE: It is possible to exploit this by running malicious CGI or PHP scripts on a shared server where another customer runs TWiki.

The vulnerability is reported in 4.x versions prior to 4.1.1 and in TWiki SessionPlugin prior to 2.992.

Solution:
Update to version 4.1.1 or TWiki SessionPlugin 2.992.

Provided and/or discovered by:
Andrew Moise

Original Advisory:
http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2007-0669

Other References:
US-CERT VU#584436:
http://www.kb.cert.org/vuls/id/584436


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB Avatar Script Insertion Vulnerability // 25 views
2. CA ARCserve Backup Multiple Vulnerabilities // 24 views
3. phpBB "gen_rand_string()" Predictable RNG Weakness // 22 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 22 views
5. Opera Multiple Vulnerabilities // 20 views
6. Red Hat update for cups // 19 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 18 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 18 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 18 views
10. Ubuntu update for ruby1.8 // 17 views