Description
Directory traversal vulnerability in bin/configure in TWiki before 4.2.3, when a certain step in the installation guide is skipped, allows remote attackers to read arbitrary files via a query string containing a .. (dot dot) in the image variable, and execute arbitrary files via unspecified vectors.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | twiki | 1:4.0.5-9.1etch1 | DSA-1639-1 |
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.
Exploit-DB 2
- TWiki 4.2.2 - 'action' Remote Code Execution EDB-6509 · webapps · Sep 21, 2008 · verified
- TWiki 4.2.0 - 'configure' Remote File Disclosure EDB-6269 · webapps · Aug 19, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1639-1 twiki - command execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- 31849 third-party-advisory
- 6269 exploit
- 4265 third-party-advisory
- 31964 third-party-advisory
- http://www.kb.cert.org/vuls/id/RGII-7JEQ7L
- ADV-2008-2586 vdb-entry
- twiki-configure-image-command-execution(45183) vdb-entry
- http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-3195
- http://twiki.org/cgi-bin/view/Codev/TWikiRelease04x02x03#4_2_3_Bugfix_Highlights
- twiki-configure-directory-traversal(45182) vdb-entry
- VU#362012 third-party-advisory