
POC per verificare le istanze di Jira vulnerabili a CVE-2019-8451
Scansione proof of concept per verificare se un host Jira è vulnerabile a CVE-2019-8451
CVE-2019-8451 è una vulnerabilità di server side request forgery (SSRF) pre-autenticazione trovata nella risorsa /plugins/servlet/gadgets/makeRequest.
Questa vulnerabilità è stata introdotta nella versione 7.6.0 del server Jira e risolta nelle versioni 7.13.9 e 8.4.0.
Richiede solo la libreria requests.
Installa con pip3 install requests
$ ./jira-2019-8451.py -h
usage: jira-2019-8451.py [-h] [-u URL] [-c]
For checking if a Jira instance is vunlerable to CVE-2019-8451
optional arguments:
-h, --help show this help message and exit
-u URL, --url URL URL of the target Jira instance e.g. '-u
https://localhost:8080'
-c, --check Only check the Jira version; doesn't send SSRF attempt
Host probabilmente vulnerabile:
$ python3 jira.py -u https://localhost:8080
[-] Testing https://localhost:8080...
[-] Checking for version...
[-] Jira version appears to be: 8.3.4
[-] Sending SSRF test...
[+] Host appears to be vulnerable!
Host probabilmente non vulnerabile:
$ python3 jira.py -u https://localhost:8080
[-] Testing https://localhost:8080...
[-] Checking for version...
[-] Jira version appears to be: 8.4.1
[-] Sending SSRF test...
[!] Host doesn't appear to be vulnerable.