Rapid7 Vulnerability & Exploit Database

vBulletin misc.php Template Name Arbitrary Code Execution

Back to Search

vBulletin misc.php Template Name Arbitrary Code Execution

Disclosed
02/25/2005
Created
05/30/2018

Description

This module exploits an arbitrary PHP code execution flaw in the vBulletin web forum software. This vulnerability is only present when the "Add Template Name in HTML Comments" option is enabled. All versions of vBulletin prior to 3.0.7 are affected.

Author(s)

  • str0ke <str0ke@milw0rm.com>
  • cazz <bmc@shmoo.com>

Platform

Unix

Architectures

cmd

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

;