module
OpenX banner-edit.php File Upload PHP Code Execution
Disclosed | Created |
---|---|
2009-11-24 | 2018-05-30 |
Disclosed
2009-11-24
Created
2018-05-30
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.
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
jduck jduck@metasploit.com
Platform
PHP
Architectures
php
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.