Vulnerability & Exploit Database

Back to search

osCommerce Installer Unauthenticated Code Execution

If the /install/ directory was not removed, it is possible for an unauthenticated attacker to run the "install_4.php" script, which will create the configuration file for the installation. This allows the attacker to inject PHP code into the configuration file and execute it.

Free Metasploit Download

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

 Download Now

Module Name

exploit/multi/http/oscommerce_installer_unauth_code_exec

Authors

  • Simon Scannell
  • Daniel Teixeira

References

Targets

  • osCommerce 2.3.4.1

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/multi/http/oscommerce_installer_unauth_code_exec msf exploit(oscommerce_installer_unauth_code_exec) > show targets ...targets... msf exploit(oscommerce_installer_unauth_code_exec) > set TARGET <target-id> msf exploit(oscommerce_installer_unauth_code_exec) > show options ...show and set options... msf exploit(oscommerce_installer_unauth_code_exec) > exploit