Description
This module exploits a php unserialize() vulnerability in Invision IP.Board <= 3.3.4 which could be abused to allow unauthenticated users to execute arbitrary code under the context of the webserver user.
The dangerous unserialize() exists in the '/admin/sources/base/core.php' script, which is called with user controlled data from the cookie. The exploit abuses the __destruct() method from the dbMain class to write arbitrary PHP code to a file on the Invision IP.Board web directory.
The exploit has been tested successfully on Invision IP.Board 3.3.4.
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/invision/pboard_unserialize_execmsf undefined(pboard_unserialize_exec) > show actions ...actions...msf undefined(pboard_unserialize_exec) > set ACTION < action-name >msf undefined(pboard_unserialize_exec) > show options ...show and set options...msf undefined(pboard_unserialize_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub