Secunia Logo
Netsikker nu! 2008
 
TWiki "%INCLUDE" Shell Command Injection Vulnerability
Secunia Advisory: SA16980
Release Date: 2005-09-28
Popularity: 8,598 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:TWiki

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3056


Description:
A vulnerability has been reported in TWiki, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "rev" attribute in the "%INCLUDE" variable isn't properly sanitised before being used in a shell expression. This can be exploited to inject arbitrary shell commands via e.g. the "|" pipe character.

Example:
%INCLUDE{ "Main.TWikiUsers" rev="2|[code]" }%

This is related to:
SA16820

The vulnerability has been reported in versions TWikiRelease03Sep2004, TWikiRelease02Sep2004, TWikiRelease01Sep2004, and TWikiRelease01Feb2003.

Solution:
Apply patches.
http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWithInclude

Provided and/or discovered by:
The vendor credits JChristophFuchs and JoseLuna.

Original Advisory:
http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWithInclude

Other References:
SA16820:
http://secunia.com/advisories/16820/


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 "gen_rand_string()" Predictable RNG Weakness // 106 views
2. phpBB Avatar Script Insertion Vulnerability // 77 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 66 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 65 views
5. phpBB Multiple Vulnerabilities // 55 views
6. phpBB Avatar Functions Information Disclosure and Deletion // 55 views
7. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
8. Microsoft Windows Vista Page Fault Handling Denial of Service // 37 views
9. VMware VirtualCenter Multiple Vulnerabilities // 33 views
10. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 32 views