TWiki SEARCH shell command execution
web-application-command-execution (45293) | High Risk |
Description:
TWiki could allow a remote attacker to execute arbitrary commands on the system, caused by improper validation of the user-supplied input prior to being used in an eval() call.. A remote attacker could exploit this vulnerability using a specially-crafted SEARCH variable or HTTP GET request containing a backtick operator to execute arbitrary shell commands with the privileges of the Web server.
*CVSS:
Base Score: | 7.5 |
Access Vector: | Network |
Access Complexity: | Low |
Authentication: | None |
Confidentiality Impact: | Partial |
Integrity Impact: | Partial |
Availability Impact: | Partial |
Temporal Score: | 5.5 |
Exploitability: | Unproven |
Remediation Level: | Official-Fix |
Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of TWiki (4.2.4 or later), available from the TWiki Web site. See References.
References:
- IBM Internet Security Systems Protection Advisory December 5, 2008: TWiki 4.2.3 parseInterval Metacharacter Vulnerability.
- TWiki SecurityAlert-CVE-2008-5305: TWiki SEARCH variable allows arbitrary shell command execution.
- Twiki Web site: TWiki.
- BID-32668: TWiki SEARCH Variable Remote Command Execution Vulnerability
- CVE-2008-5305: Eval injection vulnerability in TWiki before 4.2.4 allows remote attackers to execute arbitrary Perl code via the %SEARCH{}% variable.
- OSVDB ID: 50677: TWiki %SEARCH{}% Parameter Arbitrary Perl Code Injection
- SA33040: TWiki Cross-Site Scripting and Command Injection Vulnerabilities
- SECTRACK ID: 1021352: TWiki Input Validation Flaw in %SEARCH{}% Parameter Lets Remote Users Execute Arbitrary Commands
Platforms Affected:
- 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 4.1.1
- TWiki TWiki 4.1.2
- TWiki TWiki 4.2.0
- TWiki TWiki 4.2.1
- TWiki TWiki 4.2.2
- TWiki TWiki 4.2.3
Reported:
Dec 05, 2008
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.