module

OpenX banner-edit.php File Upload PHP Code Execution

Disclosed
Nov 24, 2009
Created
May 30, 2018

Description

This module exploits a vulnerability in the OpenX advertising software.
In versions prior to version 2.8.2, authenticated users can upload files
with arbitrary extensions to be used as banner creative content. By uploading
a file with a PHP extension, an attacker can execute arbitrary PHP code.

NOTE: The file must also return either "png", "gif", or "jpeg" as its image
type as returned from the PHP getimagesize() function.

Author

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