Description
Directory traversal vulnerability in lang.php in Rama CMS 0.68 and earlier, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the lang cookie, as demonstrated by injecting PHP sequences into an Apache HTTP Server log file, which is then included by lang.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.
Exploit-DB 1
- Rama CMS 0.68 - Cookie: lang Local File Inclusion EDB-2760 · webapps · Nov 12, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 21009 vdb-entry
- ADV-2006-4473 vdb-entry
- 22847 third-party-advisory
- 2760 exploit
- http://www.rahim.webd.pl/exploit127.html
- ramacms-lang-file-include(30183) vdb-entry