Rapid7 Vulnerability & Exploit Database

S40 0.4.2 CMS Directory Traversal Vulnerability

Back to Search

S40 0.4.2 CMS Directory Traversal Vulnerability

Disclosed
04/07/2011
Created
05/30/2018

Description

This module exploits a directory traversal vulnerability found in S40 CMS. The flaw is due to the 'page' function not properly handling the $pid parameter, which allows a malicious user to load an arbitrary file path.

Author(s)

  • Osirys <osirys@autistici.org>
  • sinn3r <sinn3r@metasploit.com>

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/http/s40_traversal
msf auxiliary(s40_traversal) > show actions
    ...actions...
msf auxiliary(s40_traversal) > set ACTION < action-name >
msf auxiliary(s40_traversal) > show options
    ...show and set options...
msf auxiliary(s40_traversal) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;