Rapid7 Vulnerability & Exploit Database

vBSEO proc_deutf() Remote PHP Code Injection

Back to Search

vBSEO proc_deutf() Remote PHP Code Injection

Disclosed
01/23/2012
Created
05/30/2018

Description

This module exploits a vulnerability in the 'proc_deutf()' function defined in /includes/functions_vbseocp_abstract.php for vBSEO versions 3.6.0 and earlier. User input passed through 'char_repl' POST parameter isn't properly sanitized before being used in a call to preg_replace() function which uses the 'e' modifier. This can be exploited to inject and execute arbitrary code leveraging the PHP's complex curly syntax.

Author(s)

  • EgiX <n0b0d13s@gmail.com>

Platform

PHP

Architectures

php

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;