
Exploit de contournement d'authentification pour CVE-2022-40684 ciblant FortiOS, FortiProxy et FortiSwitchManager. Vérifie la vulnérabilité et écrase les clés SSH admin.
Exploit pour la vulnérabilité de contournement d'authentification CVE-2022-40684 affectant les appliances FortiOS, FortiProxy et FortiSwitchManager.
Cet outil est fourni à des fins de démonstration, utilisez-le uniquement contre des systèmes pour lesquels vous disposez d'une autorisation explicite. Le mainteneur du projet n'est pas responsable de l'utilisation abusive de ce logiciel.
.,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX., -%HX$$%%%:;
=-./@M@M$ .;@MMMM@MM:
X@/ -$MM/ Developed by: . +MM@@@M$
,@M@H: :@: Mohamed Benchikh . =X#@@@@-
,@@@MMX, . (@mohamedbenchikh) /H- ;@M@M=
.H@@@@M@+, %MM+..%#$.
/MMMM@MMH/. XM@MH; =;
/%+%$XHH@$= , .H@@@@MX,
.=--------. -%H.,@@@@@MX,
.%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%.
=XMMM@MM@MM#H;,-+HMM@M+ /MMMX=
=%@M@M#@$-.=$@MM@@@M; %M%=
,:+$+-,/H#MMMMMMM@= =,
=++%%%%+/:-.
Authentication Bypass Exploit (CVE-2022-40684)
Affected Products: FortiOS, FortiProxy and FortiSwitchManager
Use at your own risk!
usage: CVE-2022-40684.py [-h] [-t TARGET] [-c] [-a] [-v] [-k KEY_FILE]
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
The IP address of the target
-c, --check Check if the target is vulnerable
-a, --attack Overwrite admin ssh key
-v, --verbose Increase Verbosity
-k KEY_FILE, --key-file KEY_FILE
The SSH key file
Mettez à jour vers la dernière version ou appliquez les mesures d'atténuation en suivant les instructions ci-dessous