Rapid7 Vulnerability & Exploit Database

osCommerce 2.2 Arbitrary PHP Code Execution

Back to Search

osCommerce 2.2 Arbitrary PHP Code Execution

Disclosed
08/31/2009
Created
05/30/2018

Description

osCommerce is a popular open source E-Commerce application. The admin console contains a file management utility that allows administrators to upload, download, and edit files. This could be abused to allow unauthenticated attackers to execute arbitrary code with the permissions of the webserver.

Author(s)

  • egypt <egypt@metasploit.com>

Platform

PHP

Architectures

php

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 exploit/unix/webapp/oscommerce_filemanager
msf exploit(oscommerce_filemanager) > show targets
    ...targets...
msf exploit(oscommerce_filemanager) > set TARGET < target-id >
msf exploit(oscommerce_filemanager) > show options
    ...show and set options...
msf exploit(oscommerce_filemanager) > exploit

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

;