module

osCommerce Installer Unauthenticated Code Execution

Disclosed
2018-04-30
Created
2018-06-14

Description

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.

Authors

Simon Scannell
Daniel Teixeira

Platform

PHP

Architectures

php

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.