Fortinet FortiOS, FortiProxy
Fortinet FortiOS and FortiProxy Improper Authorization
Edge device · Firewall / VPNknown edge product: Fortinet Fortinet FortiOS, FortiProxy Fortinet FortiOS and (high confidence)
An Improper Authorization vulnerability in Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.8 and 5.4.1 to 5.4.10 and FortiProxy 2.0.0, 1.2.0 to 1.2.8, 1.1.0 to 1.1.6, 1.0.0 to 1.0.7 under SSL VPN web portal allows an unauthenticated attacker to modify the password of an SSL VPN web portal user via specially crafted HTTP requests
Timeline
Days relative to CVE publicationFirst public PoC 7 days after publication; added to CISA KEV 2.6 years after publication. First PoC: dhn/exploits (created 11 Jun 2019, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dhn/exploits | 11 Jun 2019 +7 d | 56 | PoC via PoC Index |
| milo2012/CVE-2018-13382 | 11 Aug 2019 +68 d | 146 | PoC |
| tumikoto/Exploit-FortinetMagicBackdoor | 28 Apr 2021 +1.9 y | 1 | PoC via PoC Index |
| cojoben/CVE-2018-13382 | 26 Feb 2025 +5.7 y | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Fortinet FortiOS 6.0.4 - Unauthenticated SSL VPN User Password Modification | 19 Nov 2020 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 4 PoC reposGET /remote/login
- Query
lang=en- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Upgrade-Insecure-Requests: 1- Seen in
- 2 repos: cojoben/CVE-2018-13382, milo2012/CVE-2018-13382
- Evidence
- cojoben/CVE-2018-13382/CVE-2018-13382.py:34 milo2012/CVE-2018-13382/CVE-2018-13382.py:25
POST /remote/login
- Query
lang=en- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Upgrade-Insecure-Requests: 1- Body markers
ajax=1username=realm=credential=magic=4tinet2095866reqid=0credential2=inapplication/x-www-form-urlencoded- Seen in
- 2 repos: cojoben/CVE-2018-13382, milo2012/CVE-2018-13382
- Evidence
- cojoben/CVE-2018-13382/CVE-2018-13382.py:63 cojoben/CVE-2018-13382/CVE-2018-13382.py:86 milo2012/CVE-2018-13382/CVE-2018-13382.py:38 milo2012/CVE-2018-13382/CVE-2018-13382.py:48
POST /remote/logincheck
- Body markers
ajax=username=realm=magic=4tinet2095866reqid=credential=inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: dhn/exploits
- Evidence
- dhn/exploits/CVE-2018-13382/exploit.py:28
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/remote/login\?(?:.*&)?lang=en
(?i)^/remote/login\?(?:.*&)?lang=en
(?i)^/remote/logincheck(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2018-13382 Fortinet Fortinet FortiOS, FortiProxy exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/remote/login"; http.uri; content:"lang=en"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2018-13382; classtype:web-application-attack; sid:9760198; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2018-13382 Fortinet Fortinet FortiOS, FortiProxy exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/remote/login"; http.uri; content:"lang=en"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"ajax=1"; http.request_body; content:"username="; http.request_body; content:"realm="; http.request_body; content:"credential="; http.request_body; content:"magic=4tinet2095866"; http.request_body; content:"reqid=0"; http.request_body; content:"credential2="; reference:url,poc.griffinguard.io/cve/CVE-2018-13382; classtype:web-application-attack; sid:9026038; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2018-13382 Fortinet Fortinet FortiOS, FortiProxy exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/remote/logincheck"; http.request_body; content:"ajax="; http.request_body; content:"username="; http.request_body; content:"realm="; http.request_body; content:"magic=4tinet2095866"; http.request_body; content:"reqid="; http.request_body; content:"credential="; reference:url,poc.griffinguard.io/cve/CVE-2018-13382; classtype:web-application-attack; sid:9040342; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Fortinet Fortinet FortiOS, FortiProxy exploit attempt (CVE-2018-13382)
id: gg-pocmon-cve-2018-13382-9760198
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-13382. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-13382
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/remote/login'
cs-uri-query|contains|all:
- 'lang=en'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.13382
title: Fortinet Fortinet FortiOS, FortiProxy exploit attempt (CVE-2018-13382)
id: gg-pocmon-cve-2018-13382-9026038
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-13382. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-13382
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/remote/login'
cs-uri-query|contains|all:
- 'lang=en'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.13382
title: Fortinet Fortinet FortiOS, FortiProxy exploit attempt (CVE-2018-13382)
id: gg-pocmon-cve-2018-13382-9040342
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-13382. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2018-13382
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/remote/logincheck'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2018.13382