Back to search

osCommerce 2.2 Arbitrary PHP Code Execution

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/unix/webapp/oscommerce_filemanager

Authors

  • egypt <egypt [at] metasploit.com>

References

Targets

  • Automatic

Platforms

  • php

Architectures

  • php

Reliability

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