Unauthenticated SSL VPN User Password Change in Fortinet FortiOS/FortiProxy
CVE-2018-13382 is an improper authorization flaw in the SSL VPN web portal component of Fortinet FortiOS and FortiProxy. Affected versions are FortiOS 6.0.0 through 6.0.4, 5.6.0 through 5.6.8, and 5.4.1 through 5.4.10, and FortiProxy 2.0.0, 1.2.0 through 1.2.8, 1.1.0 through 1.1.6, and 1.0.0 through 1.0.7. The vulnerability allows an unauthenticated remote attacker to modify the password of an SSL VPN web portal user by sending specially crafted HTTP requests to the SSL VPN interface. Supporting reporting also notes a likely indicator of compromise as an HTTP POST request to /remote/logincheck with a magic parameter set. Public exploit tooling was reportedly released, and the flaw has been cited in government advisories as one of the network device vulnerabilities frequently exploited in the wild.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a Python exploit script (CVE-2018-13382.py) targeting Fortinet Fortigate devices vulnerable to CVE-2018-13382. The exploit leverages a password reset bypass vulnerability by sending crafted HTTPS POST requests to the /remote/logincheck endpoint with a special 'magic' keyword. The script allows an attacker to specify a target IP, username, and new password, then attempts to change the password for the specified user and verify the new credentials. The code disables SSL warnings, uses a random user agent, and provides colored terminal output for status messages. The repository also includes a minimal README. The main entry point is the CVE-2018-13382.py script, which is operational and provides a working exploit for the vulnerability.
This repository contains a Python exploit script (CVE-2018-13382.py) and a README.md for CVE-2018-13382, a critical vulnerability in Fortinet FortiOS SSL VPN web portals. The exploit targets FortiGate devices running vulnerable versions of FortiOS (6.0.0 to 6.0.4, 5.6.0 to 5.6.8, 5.4.1 to 5.4.10) and allows an unauthenticated attacker to change the password of any user by sending a specially crafted HTTP POST request to the /remote/logincheck endpoint. The script first verifies the target is a FortiGate device, attempts to change the password using a 'magic' parameter, and then tests the new credentials. The README provides usage instructions and references the original vulnerability research. The main attack vector is network-based, exploiting exposed HTTPS endpoints on the target device.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.