Description
The search function in TWiki 20030201 allows remote attackers to execute arbitrary commands via shell metacharacters in a search string.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
TWiki Search Function Arbitrary Command Execution
exploit/unix/webapp/twiki_search
Exploit-DB 2
- TWiki - Search Function Arbitrary Command Execution (Metasploit) EDB-16894 · webapps · Jul 3, 2010 · verified
- TWiki 20030201 - 'search.pm' Remote Command Execution EDB-642 · webapps · Nov 20, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- CLA-2005:918 vendor-advisory
- 11674 vdb-entry
- twik-search-command-execution(18062) vdb-entry
- http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWithSearch
- 20041116 Re: [Full-Disclosure] TWiki search function allows arbitrary shell command execution mailing-list
- GLSA-200411-33 vendor-advisory
- 20041112 TWiki search function allows arbitrary shell command execution mailing-list
- P-039 third-party-advisory government-resource