Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .appsec-tests/vpatch-CVE-2025-59718/CVE-2025-59718.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## autogenerated on 2025-12-19 11:25:05
id: CVE-2025-59718
info:
name: CVE-2025-59718
author: crowdsec
severity: info
description: CVE-2025-59718 testing
tags: appsec-testing
http:
- raw:
- |
POST /remote/saml/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded

SAMLResponse={{b64saml}}&RelayState=
payloads:
b64saml:
- "{{base64('<samlp:Response xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\"><saml:Issuer xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\">https://sso.forticloud.com</saml:Issuer></samlp:Response>')}}"
cookie-reuse: true
matchers:
- type: status
status:
- 403
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2025-59718/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## autogenerated on 2025-12-19 11:25:05
appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2025-59718.yaml
nuclei_template: CVE-2025-59718.yaml
41 changes: 41 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2025-59718.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## autogenerated on 2025-12-19 11:25:05
name: crowdsecurity/vpatch-CVE-2025-59718
description: 'Detects Fortinet FortiCloud SSO authentication bypass via crafted SAMLResponse (CVE-2025-59718)'
rules:
- and:
- zones:
- URI
transform:
- lowercase
match:
type: endsWith
value: /remote/saml/login
- zones:
- BODY_ARGS_NAMES
transform:
- lowercase
match:
type: equals
value: samlresponse
- zones:
- BODY_ARGS
variables:
- samlresponse
transform:
- lowercase
- b64decode
match:
type: contains
value: '<saml:issuer>https://sso.forticloud.com</saml:issuer>'

labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: 'http:exploit'
label: 'Fortinet FortiCloud - Authentication Bypass'
classification:
- cve.CVE-2025-59718
- attack.T1556
- cwe.CWE-287
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2025-9316
- crowdsecurity/vpatch-CVE-2025-11700
- crowdsecurity/vpatch-CVE-2025-13315
- crowdsecurity/vpatch-CVE-2025-59718
author: crowdsecurity
contexts:
- crowdsecurity/appsec_base
Expand Down
Loading