Decrypt reversible secrets encrypted using the default hardcoded key related to CVE-2020-9289 on FortiAnalyzer/FortiManager (the only difference with CVE-2019-6693 is the encryption routine).# Decrypt FortiManager configuration secrets (CVE-2020-9289)
CVE-2020-9289 and CVE-2019-6693 are related to the same default and hardcoded key.
The only differences on the decryption routine implemented in FortiManager/FortiAnalyzer are:
- The IV handling (all the 16 bytes are provided before the encrypted data from digits).
- The last encrypted block is stripped from the output so it needs junk to be appended then removed from the cleartext.
See https://www.fortiguard.com/psirt/FG-IR-19-007 for more details.
[4.0K] /data/pocs/7d3b76344a33d458106f92373bcb661afb93fd44
├── [1.2K] cve-2020-9289.py
├── [ 520] README.md
└── [ 22] requirements.txt
0 directories, 3 files