Exploit database

Vulnerability

CVE-2012-5692

Vulnerability details

Score
10.0
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:C/I:C/A:C

Description

Unspecified vulnerability in admin/sources/base/core.php in Invision Power Board (aka IPB or IP.Board) 3.1.x through 3.3.x has unknown impact and remote attack vectors.

CVE Program

Exploit source choices

4 sources
Invision IP.Board unserialize() PHP Code Execution
MSF-unix--webapp--invision_pboard_unserialize_execMetasploitPHP / remote

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.

2012-10-25invision_pboard_unserialize_exec.rb