nday
CVE-2025-29927 GHSA-f82v-jwr5-mffw

Authorization Bypass in Next.js Middleware

vercel / next.js

披露后第 1 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都已收录。尚未列入 CISA KEV。

这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

broken access control
CWE-285(来源:编号分配方 GitHub_M、NVD(转录自 [email protected]))CWE-863(来源:NVD 分析人员)
远程未授权
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N(CVSS 3.1)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N(CVSS 3.1)中的 PR:N
无需用户交互
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N(CVSS 3.1)中的 UI:N
Metasploit
Metasploit 模块 auxiliary/scanner/http/nextjs_middleware_auth_bypass
Exploit-DB
Exploit-DB 条目 52124
nuclei
nuclei 模板 CVE-2025-29927
Next.js
CVE 记录列出的受影响产品:vercel · next.jsNVD 分析人员标为易受攻击的 CPE 名称:a:vercel:next.js
开源库/框架
CVE 记录列出的受影响产品:vercel · next.jsNVD 分析人员标为易受攻击的 CPE 名称:a:vercel:next.jsnday 产品登记表中 Next.js 的产品类型
当前阶段
POC
披露
披露到公开 PoC
T+1d POC 为日精度
CVSS
9.1 CRITICAL v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2025-03-21T14:34Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
2025-03-22 日精度 等 23 条
metasploit、nuclei
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware. If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application. This vulnerability is fixed in 12.3.5, 13.5.9, 14.2.25, and 15.2.3.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

2025-03-24日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:fourcube/nextjs-middleware-bypass-demo。日期为仓库的创建日。

来源 github 953872810 · 本站 批量导入 · 原始记录
{
  "id": 482944,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/fourcube/nextjs-middleware-bypass-demo",
  "occurred_at": "2025-03-24T08:07:03Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "953872810",
  "detail": {
    "url": "https://github.com/fourcube/nextjs-middleware-bypass-demo",
    "title": "fourcube/nextjs-middleware-bypass-demo",
    "precision": "day"
  }
}
2025-03-24日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:Eve-SatOrU/POC-CVE-2025-29927。日期为仓库的创建日。

来源 github 953984054 · 本站 批量导入 · 原始记录
{
  "id": 482945,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/Eve-SatOrU/POC-CVE-2025-29927",
  "occurred_at": "2025-03-24T11:42:14Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "953984054",
  "detail": {
    "url": "https://github.com/Eve-SatOrU/POC-CVE-2025-29927",
    "title": "Eve-SatOrU/POC-CVE-2025-29927",
    "precision": "day"
  }
}
2025-03-24日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:0xWhoknows/CVE-2025-29927。日期为仓库的创建日。

来源 github 954239487 · 本站 批量导入 · 原始记录
{
  "id": 482946,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/0xWhoknows/CVE-2025-29927",
  "occurred_at": "2025-03-24T19:18:20Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "954239487",
  "detail": {
    "url": "https://github.com/0xWhoknows/CVE-2025-29927",
    "title": "0xWhoknows/CVE-2025-29927",
    "precision": "day"
  }
}
2025-03-25日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:phoscoder/ghost-route。日期为仓库的创建日。

来源 github 954471818 · 本站 批量导入 · 原始记录
{
  "id": 482947,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/phoscoder/ghost-route",
  "occurred_at": "2025-03-25T06:14:15Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "954471818",
  "detail": {
    "url": "https://github.com/phoscoder/ghost-route",
    "title": "phoscoder/ghost-route",
    "precision": "day"
  }
}
2025-03-25日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:alihussainzada/CVE-2025-29927-PoC。日期为仓库的创建日。

来源 github 954600589 · 本站 批量导入 · 原始记录
{
  "id": 482948,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/alihussainzada/CVE-2025-29927-PoC",
  "occurred_at": "2025-03-25T10:30:55Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "954600589",
  "detail": {
    "url": "https://github.com/alihussainzada/CVE-2025-29927-PoC",
    "title": "alihussainzada/CVE-2025-29927-PoC",
    "precision": "day"
  }
}
2025-03-25日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:c0dejump/CVE-2025-29927-check。日期为仓库的创建日。

来源 github 954852042 · 本站 批量导入 · 原始记录
{
  "id": 482949,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/c0dejump/CVE-2025-29927-check",
  "occurred_at": "2025-03-25T18:02:18Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "954852042",
  "detail": {
    "url": "https://github.com/c0dejump/CVE-2025-29927-check",
    "title": "c0dejump/CVE-2025-29927-check",
    "precision": "day"
  }
}
2025-03-26日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:kOaDT/poc-cve-2025-29927。日期为仓库的创建日。

来源 github 954996803 · 本站 批量导入 · 原始记录
{
  "id": 482950,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/kOaDT/poc-cve-2025-29927",
  "occurred_at": "2025-03-26T00:12:41Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "954996803",
  "detail": {
    "url": "https://github.com/kOaDT/poc-cve-2025-29927",
    "title": "kOaDT/poc-cve-2025-29927",
    "precision": "day"
  }
}
2025-03-26日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:aleongx/CVE-2025-29927。日期为仓库的创建日。

来源 github 955519080 · 本站 批量导入 · 原始记录
{
  "id": 482951,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/aleongx/CVE-2025-29927",
  "occurred_at": "2025-03-26T19:08:14Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "955519080",
  "detail": {
    "url": "https://github.com/aleongx/CVE-2025-29927",
    "title": "aleongx/CVE-2025-29927",
    "precision": "day"
  }
}
2025-03-28日精度,来源给出
+POC公开 PoC

GitHub 上的 PoC 仓库:AnonKryptiQuz/NextSploit。日期为仓库的创建日。

来源 github 956502693 · 本站 批量导入 · 原始记录
{
  "id": 482952,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/AnonKryptiQuz/NextSploit",
  "occurred_at": "2025-03-28T11:09:25Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "956502693",
  "detail": {
    "url": "https://github.com/AnonKryptiQuz/NextSploit",
    "title": "AnonKryptiQuz/NextSploit",
    "precision": "day"
  }
}
2025-04-05日精度,来源给出
+POC公开 PoC

Exploit-DB 收录公开利用代码《Next.js Middleware 15.2.2 - Authorization Bypass》(EDB-52124)。

来源 exploitdb 52124 · 本站 批量导入 · 原始记录
{
  "id": 27980,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52124",
  "occurred_at": "2025-04-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52124",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52124",
    "file": "exploits/multiple/webapps/52124.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Next.js Middleware 15.2.2 - Authorization Bypass",
    "author": "kOaDT",
    "edb_id": 52124,
    "cve_ids": [
      "CVE-2025-29927"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-04-05",
    "date_updated": "2025-04-05",
    "date_published": "2025-04-05"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。