
POC zur Überprüfung von Jira-Instanzen, die für CVE-2019-8451 anfällig sind
Proof-of-Concept-Scan, um zu prüfen, ob ein Jira-Host anfällig für CVE-2019-8451 ist
CVE-2019-8451 ist eine vorauthentifizierte Server-Side-Request-Forgery-Schwachstelle (SSRF) in der Ressource /plugins/servlet/gadgets/makeRequest.
Diese Sicherheitslücke wurde in Jira Server Version 7.6.0 eingeführt und in den Versionen 7.13.9 und 8.4.0 behoben.
Benötigt nur die requests-Bibliothek.
Installieren mit 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 wahrscheinlich anfällig:
$ 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 wahrscheinlich nicht anfällig:
$ 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.