Description
shared/code/tce_tmx.php in TCExam 4.0.011 and earlier allows remote attackers to create arbitrary PHP files in cache/ by placing file contents and directory traversal manipulations into a SessionUserLang cookie to public/code/index.php.
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
- TCExam 4.0.011 - 'SessionUserLang' Shell Injection EDB-3816 · webapps · Apr 29, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- tcexam-sessionuserlang-file-upload(33958) vdb-entry
- 25008 third-party-advisory
- 23705 vdb-entry
- http://sourceforge.net/forum/forum.php?forum_id=690912
- 3816 exploit
- ADV-2007-1583 vdb-entry
- 20070501 TCExam code injection: why does this work? (and vendor ACK) mailing-list