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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
spring4shell_victim — 의도적으로 취약하게 만든 Spring 앱으로 CVE-2022-22965를 테스트하기 위함 | Kitploit
도구/GitHubGitHub/fracturelabs/spring4shell_victim
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubfracturelabs/spring4shell_victim

spring4shell_victim

의도적으로 취약하게 만든 Spring 앱으로 CVE-2022-22965를 테스트하기 위함

저장소 보기
224년 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유


spring4shell_victim

의도적으로 취약하게 만든 Spring 앱으로 CVE-2022-22965 테스트

자세한 내용: https://www.fracturelabs.com/posts/effective-spring4shell-scanning-exploitation/

@fracturelabs @brkr19


사용법

빌드

다음 코드는 아래 구성 요소를 사용하여 취약한 Docker 이미지를 빠르게 빌드합니다.

  • JDK 11.0.14
  • Tomcat 9.0.60
  • Spring 2.6.4
root@kitploit:~
git clone https://github.com/fracturelabs/spring4shell_victim.git
cd spring4shell_victim
docker image build -t spring4shell_victim .

실행

root@kitploit:~
docker container run -it -p 8080:8080 --name spring4shell_victim --rm spring4shell_victim

익스플로잇

두 개의 경로가 정의되어 있습니다: /spring4shell_victim 및 /spring4shell_victim/vulnerable. 이를 사용하여 스캐닝 도구가 제대로 작동하는지 확인할 수 있습니다. 기본 경로(/)는 의도적으로 취약하지 않게 설정되어 있어, 스캐닝 도구를 구성하여 취약한 엔드포인트를 찾는 방법에 대해 생각하게 합니다.

예시

root@kitploit:~
# 이 경로는 취약하지 않음
curl -is localhost:9000/spring4shell_victim/?class.module.classLoader.URLs%5b-1%5d

# 이 경로는 취약함
curl -is localhost:9000/spring4shell_victim/vulnerable?class.module.classLoader.URLs%5b-1%5d

스크린샷

확인

컨테이너의 셸에 접속하여 /usr/local/tomcat/webapps/ 디렉터리를 확인함으로써 코드가 올바르게 배포되었는지 검증할 수 있습니다.

root@kitploit:~
docker exec -it spring4shell_victim /bin/bash

참고: 위 POC 코드는 감지할 수 있는 충돌(500 오류)만 발생시킵니다. 실제로 코드를 업로드하지는 않습니다.

도구 다운로드