Description
Directory traversal vulnerability in cmsimple/cms.php in CMSimple 3.1, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the sl parameter to index.php. NOTE: this can be leveraged for remote file execution by including adm.php and then invoking the upload action. NOTE: on 20080601, the vendor patched 3.1 without changing the version number.
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
- CMSimple 3.1 - Local File Inclusion / Arbitrary File Upload EDB-5700 · webapps · May 31, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CMSimple 3.1 - Local File Inclusion http/cves/2008/CVE-2008-2650.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- 30463 third-party-advisory
- 45881 vdb-entry
- cmsimple-index-file-include(42792) vdb-entry
- 29450 vdb-entry
- 5700 exploit
- cmsimple-index-file-upload(42793) vdb-entry
- http://www.cmsimple.com/forum/viewtopic.php?f=2&t=17