module

Horde Framework Unserialize PHP Code Execution

Disclosed
2013-06-27
Created
2018-05-30

Description

This module exploits a php unserialize() vulnerability in Horde abused to allow unauthenticated users to execute arbitrary code with the permissions of
the web server. The dangerous unserialize() exists in the 'lib/Horde/Variables.php' file.
The exploit abuses the __destruct() method from the Horde_Kolab_Server_Decorator_Clean
class to reach a dangerous call_user_func() call in the Horde_Prefs class.

Authors

EgiX
juan vazquez juan.vazquez@metasploit.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/horde_unserialize_exec
msf exploit(horde_unserialize_exec) > show targets
...targets...
msf exploit(horde_unserialize_exec) > set TARGET < target-id >
msf exploit(horde_unserialize_exec) > show options
...show and set options...
msf exploit(horde_unserialize_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.