CVE-2026-126240
HIGH(8.2)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- CVSS 8.2 — Hoch
Erwähnungen (letzte 60 Tage)
EPSS-Score
0.3%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
8.2
Technische Schwere
Beschreibung
A improper neutralization of special elements used in an ldap query ('ldap injection') vulnerability in Fortinet FortiAuthenticator 8.0.0 through 8.0.3, FortiAuthenticator 6.6.0 through 6.6.10 may allow an authenticated attacker to bypass authentication. Successful exploitation requires either a malicious/compromised upstream IdP, or an IdP configuration that allows the user to control the NameID (or the SAML attribute used as the username).
Erkennung & Indikatoren
Ausnutzung
In den geprüften Quellen nicht genannt
Threat-Hunting-Queries
Sentinel/Defender KQL
// This query attempts to detect LDAP injection attempts by looking for unusual characters or patterns in LDAP queries that might indicate an injection.
// This is a generic behavioral detection and may require tuning for specific environments.
// Look for logs related to FortiAuthenticator or LDAP authentication that show unusual characters in usernames or query parameters.
// Replace 'YourFortiAuthenticatorLogs' with the actual table name for FortiAuthenticator logs.
YourFortiAuthenticatorLogs
| where Message has "LDAP query" and (Message contains "(" or Message contains ")" or Message contains "&" or Message contains "|" or Message contains "=" or Message contains "*" or Message contains ";" or Message contains "--")
| where not(Message matches regex @"\b(user|cn|uid)=[a-zA-Z0-9._-]+\b") // Exclude common legitimate LDAP query patterns
| project TimeGenerated, Computer, Message, AccountName, IpAddress
| extend ThreatType = "LDAP Injection Attempt"
| order by TimeGenerated descSplunk SPL
# This query attempts to detect LDAP injection attempts by looking for unusual characters or patterns in LDAP queries that might indicate an injection.
# This is a generic behavioral detection and may require tuning for specific environments.
# Look for logs related to FortiAuthenticator or LDAP authentication that show unusual characters in usernames or query parameters.
# Replace 'sourcetype=fortinet:fortiauthenticator' with the actual sourcetype for FortiAuthenticator logs.
sourcetype=fortinet:fortiauthenticator "LDAP query"
| regex "(?i)(?:\(|\)|&|\||=|\*|;|-{2})"
| not regex "(?i)\b(user|cn|uid)=[a-zA-Z0-9._-]+\b"
| table _time, host, source, sourcetype, message
| rename message as _raw
| eval ThreatType = "LDAP Injection Attempt"Sigma
title: FortiAuthenticator LDAP Injection Attempt
id: 00000000-0000-0000-0000-000000000001 # Placeholder, generate a real UUID
status: experimental
description: Detects potential LDAP injection attempts against FortiAuthenticator by looking for suspicious characters in LDAP query logs.
references:
- https://fortiguard.fortinet.com/psirt/FG-IR-26-255
logsource:
product: fortinet
service: fortiauthenticator
detection:
selection:
message|contains:
- 'LDAP query'
message|re:
- '(\(|\)|&|\||=|\*|;|-{2})'
filter:
message|re:
- '\b(user|cn|uid)=[a-zA-Z0-9._-]+\b'
condition: selection and not filter
level: highElastic ES|QL
// This query attempts to detect LDAP injection attempts by looking for unusual characters or patterns in LDAP queries that might indicate an injection.
// This is a generic behavioral detection and may require tuning for specific environments.
// Look for logs related to FortiAuthenticator or LDAP authentication that show unusual characters in usernames or query parameters.
// Replace 'fortinet.fortiauthenticator.log' with the actual index or dataset for FortiAuthenticator logs.
FROM fortinet.fortiauthenticator.log
| WHERE message : "LDAP query"
| WHERE message : "(" OR message : ")" OR message : "&" OR message : "|" OR message : "=" OR message : "*" OR message : ";" OR message : "--"
| WHERE NOT (message : /\b(user|cn|uid)=[a-zA-Z0-9._-]+\b/)
| SELECT @timestamp, host.name, message, user.name, source.ip
| EVAL threat.type = "LDAP Injection Attempt"
| ORDER BY @timestamp DESCSecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Ausgewertete Quellen