The warning released days after researchers reported attackers published the leaked passwords on underground forums, said officials at the Cybersecurity and Infrastructure Security Agency (CISA).
While CISA stopped short of confirming the authenticity of the password leak, the agency is urging users of Fortinet gear to check with the company about patches and fixes and to review logs to check for suspicious activity.
Attackers may try to take advantage of a longstanding vulnerability (CVE 2018-13379) in the FortiOS system files, which could lead to further exploitation. Fortinet has been urging its users to patch for this flaw since it was first discovered by researchers in 2019.
Fortinet fixed the path traversal vulnerability in the FortiOS SSL VPN web portal which could allow an unauthenticated attacker to download FortiOS system files through specially crafted HTTP resource requests.
The products affected by the issue include:
FortiOS 6.0 – 6.0.0 to 6.0.4
FortiOS 5.6 – 5.6.3 to 5.6.7
FortiOS 5.4 – 5.4.6 to 5.4.12
Other branches and versions do not suffer from the issue.
Fortinet released an upgrade to FortiOS 5.4.13, 5.6.8, 6.0.5 or 6.2.0 and above. Meh Chang and Orange Tsai from DEVCORE Security Research Team discovered the vulnerability.
In addition, the company release a temporary solution, which is to totally disable the SSL-VPN service (both web-mode and tunnel-mode) by applying the following CLI commands:
config vpn ssl settings
unset source-interface
end
Firewall policies tied to SSL VPN will need to be unset first for the above sequence to execute successfully.
Code to exploit this vulnerability in order to obtain the credentials of logged in SSL VPN users ended up disclosed. In absence of upgrading to the versions listed above, mitigating the impact of this exploit can be done by enabling two-factor authentication for SSL VPN users. An attacker would then not be able to use stolen credentials to impersonate SSL VPN users.
“Note that code to exploit this vulnerability in order to obtain the credentials of logged in SSL VPN users was disclosed. In absence of upgrading to the versions listed above, mitigating the impact of this exploit can be done by enabling two-factor authentication for SSL VPN users,” according to the Fortinet alert. “An attacker would then not be able to use stolen credentials to impersonate SSL VPN users.”
Earlier this month, a security researcher who goes by the handle Bank_Security noted on Twitter attackers appear to have posted clear text credentials associated with Fortinet IPs that are vulnerable to CVE-2018-13379. This bug is a pathname vulnerability that can allow hackers to download system files from the affected systems.
Bank_Security first tweeted about the exposed Fortinet passwords on Nov 19. In this tweet, the researcher noted the leaked passwords belonged to 49,577 IP associated with Fortinet SSL VPNs and a hacker named “pumpedkicks” was selling them.

