module

HybridAuth install.php PHP Code Execution

Disclosed
2014-08-04
Created
2018-05-30

Description

This module exploits a PHP code execution vulnerability in
HybridAuth versions 2.0.9 to 2.2.2. The install file 'install.php'
is not removed after installation allowing unauthenticated users to
write PHP code to the application configuration file 'config.php'.

Note: This exploit will overwrite the application configuration file
rendering the application unusable.

Authors

Pichaya Morimoto
bcoles bcoles@gmail.com

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