🔍 CVE-2025-69211

7.4
CVSS Score
HIGH
2025-12-29
2026-10-07 12:10
✅ 완료

🇰🇷 한글 설명

NestJS 프레임워크의 Fastify 플랫폼 사용 시 URL 인코딩 미들웨어를 우회할 수 있는 취약점이 발견되었습니다. 이로 인해 인증이나 권한 부여를 담당하는 미들웨어가 특정 경로에 대해 제대로 작동하지 않아 보호된 경로에 무단 접근이 가능할 수 있습니다.

💡 쉬운 설명

웹사이트의 보안 검사관이 특정 글자(인코딩된 문자)를 보고 검사를 건너뛰게 만드는 버그입니다. 이를 통해 로그인 없이 관리자 페이지에 접속하거나 보안 규칙을 피할 수 있습니다.

🇺🇸 원문 (English)

Nest is a framework for building scalable Node.js server-side applications. Versions prior to 11.1.11 have a Fastify URL encoding middleware bypass. A NestJS application is vulnerable if it uses `@nestjs/platform-fastify`; relies on `NestMiddleware` (via `MiddlewareConsumer`) for security checks (authentication, authorization, etc.), or through `app.use()`; and applies middleware to specific routes using string paths or controllers (e.g., `.forRoutes('admin')`). Exploitation can result in unauthenticated users accessing protected routes, restricted administrative endpoints becoming accessible to lower-privileged users, and/or middleware performing sanitization or validation being skipped. This issue is patched in `@nestjs/[email protected]`.

📍 영향받는 시스템

@nestjs/platform-fastify 11.1.11 미만 버전

⚔️ 공격 벡터

특수하게 인코딩된 URL 경로를 사용하여 보안 미들웨어의 검사를 우회하고 보호된 엔드포인트에 접근

🛡️ 대응 방법

@nestjs/platform-fastify 버전을 11.1.11 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 11.1.11보다 낮은지 확인

Shell / Script
npm list @nestjs/platform-fastify

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js