Description
The create_anchors function in utils.inc in WebSVN 1.x allows remote attackers to execute arbitrary PHP code via a crafted username that is processed by the preg_replace function with the eval switch.
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.
Exploit-DB 1
- WebSVN 2.0 - Cross-Site Scripting / File Handling / Code Execution EDB-6822 · webapps · Oct 23, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 6822 exploit
- 31891 vdb-entry
- websvn-createanchors-code-execution(48168) vdb-entry
- 4928 third-party-advisory
- http://www.gulftech.org/?node=research&article_id=00132-10202008