Detect CVE-2026-113824: Microsoft Clarity IDOR Authorization Bypass (Privilege Escalation) in Elastic Security
Detects exploitation attempts against CVE-2026-113824, an authorization bypass through a user-controlled key (IDOR, CWE-639) in Microsoft Clarity. By supplying another tenant's or user's identifier (project ID, user ID, or session key) in API requests, an unauthorized network attacker can read or modify resources they do not own and elevate privileges. Detection focuses on anomalous access patterns where a single authenticated principal references many distinct object identifiers, out-of-sequence or enumerated ID access, authorization failures followed by successful access, and privilege-affecting operations performed cross-tenant. Because this is a logic/authorization flaw there is no single exploit signature; detections correlate identity against the object keys each identity touches.
MITRE ATT&CK
Elastic Detection Query
// df00tech DF00-aa5e23ef9e · https://df00tech.com/detections/CVE-2026-113824 · licence: https://df00tech.com/detections/licence
sequence by source.ip with maxspan=1h
[ any where url.path like "/api/*" and http.response.status_code == 403 ]
[ any where url.path like "/api/*" and http.response.status_code == 200 and url.query : ("*projectId=*", "*userId=*", "*sessionId=*") ] Detects an authorization failure (403) immediately followed by a successful (200) access to an object-keyed Clarity API endpoint from the same source, suggesting a key-substitution bypass.
Data Sources
Required Tables
False Positives & Tuning
- User re-authenticating after an expired token then legitimately accessing their own resource
- Automated retry logic that triggers a transient 403 before success
- Load balancer health checks interleaving with real traffic
Other platforms for CVE-2026-113824
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Sequential object-key enumeration against Clarity API
Expected signal: Dozens of API requests from one principal/IP referencing many distinct projectId values within a short window.
- Test 2 Key substitution after authorization failure
Expected signal: A 403 response followed by a 200 to an object-keyed endpoint from the same source within seconds.
- Test 3 Cross-tenant privileged write via substituted key
Expected signal: A POST/PUT to a Clarity settings endpoint keyed to a projectId not owned by the authenticated principal.
Response Playbook
Triage
- Identify the authenticated principal (user/service account/token) and source IP behind the flagged requests, and enumerate the full set of distinct object keys (projectId/userId/sessionId) they accessed.
- Determine tenant/ownership for each referenced object key and confirm whether the principal is authorized to access those resources; cross-tenant access is a strong indicator of real exploitation.
- Correlate the request timeline for 403-then-200 sequences or sequential/enumerated identifiers that indicate deliberate key substitution rather than normal usage.
- Check whether any flagged requests performed state-changing or privilege-affecting operations (role assignment, settings change, data export) versus read-only access.
Containment
- Revoke or rotate the suspect principal's session tokens and API keys, and temporarily suspend the account if cross-tenant access is confirmed.
- Apply a WAF/API-gateway rule to block the offending source IP and enforce per-request object-level authorization checks on affected Clarity endpoints.
- Engage Microsoft/MSRC guidance and apply the vendor patch or configuration mitigation for CVE-2026-113824 as soon as available.
Evidence Collection
- Preserve full API access logs (request URLs, object keys, principal identity, status codes, timestamps) for the affected window.
- Snapshot affected resource audit trails to establish which cross-tenant objects were read or modified and by whom.
Escalation Criteria
- !Escalate to incident response if a principal accessed object keys belonging to other tenants/users or performed privilege-affecting writes cross-tenant.
- !Escalate to data-protection/legal if customer PII or session recordings belonging to other tenants were accessed, as this may constitute a reportable breach.
Investigation Guide
Forensic Artifacts
- >
API gateway / App Insights request logs showing a single principal referencing many distinct object keys - >
Application audit logs recording cross-tenant reads or state changes keyed by the substituted identifier
Tuning Guidance
Baseline normal per-principal distinct-key counts per tenant before alerting; legitimate admin and reporting roles naturally touch many owned objects. Raise the distinct-key threshold or exclude known service accounts and admin roles, and prioritize alerts where the referenced keys resolve to a DIFFERENT tenant than the principal, which removes most benign volume-based noise.
Hunting Queries
Surfaces sources enumerating an abnormal number of distinct object keys against Clarity APIs.
// df00tech DF00-aa5e23ef9e · https://df00tech.com/detections/CVE-2026-113824 · licence: https://df00tech.com/detections/licence
AppRequests | where Url has_any('projectId=','userId=','sessionId=') | extend ObjectKey=extract(@'(?i)(?:projectId|userId|sessionId)=([A-Za-z0-9_\-]+)',1,Url) | summarize dcount(ObjectKey) by ClientIP, bin(TimeGenerated,1h) | where dcount_ObjectKey > 30 ``` df00tech DF00-aa5e23ef9e · https://df00tech.com/detections/CVE-2026-113824 · licence: https://df00tech.com/detections/licence ```
index=clarity_api | rex field=uri_query "(?i)(?:projectId|userId|sessionId)=(?<object_key>[A-Za-z0-9_\-]+)" | stats dc(object_key) as keys by src_ip | where keys>30 Atomic Red Team Tests
Simulates IDOR enumeration by iterating project identifiers with a single authenticated session (lab only).
Command
for id in $(seq 1000 1060); do curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $LAB_TOKEN" "https://clarity.lab.local/api/project?projectId=$id"; done Cleanup
unset LAB_TOKEN; echo 'no persistent artifacts created' Expected Telemetry
Dozens of API requests from one principal/IP referencing many distinct projectId values within a short window.
Expected Detection
KQL/SPL distinct-key threshold rules fire on the single-source high distinct-key count.
Simulates a 403 on an owned resource followed by a 200 on a cross-tenant key via substitution.
Command
curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $LAB_TOKEN" 'https://clarity.lab.local/api/user?userId=victim-tenant-42'; curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $LAB_TOKEN" 'https://clarity.lab.local/api/session?sessionId=victim-tenant-42-sess' Cleanup
unset LAB_TOKEN Expected Telemetry
A 403 response followed by a 200 to an object-keyed endpoint from the same source within seconds.
Expected Detection
Elastic EQL 403-then-200 sequence rule fires.
Simulates a state-changing request against another tenant's object using a substituted key (lab only).
Command
powershell -Command "Invoke-WebRequest -Method POST -Uri 'https://clarity.lab.local/api/project/settings?projectId=other-tenant-7' -Headers @{Authorization='Bearer ' + $env:LAB_TOKEN} -Body '{\"role\":\"admin\"}'" Cleanup
powershell -Command "Remove-Item Env:LAB_TOKEN -ErrorAction SilentlyContinue" Expected Telemetry
A POST/PUT to a Clarity settings endpoint keyed to a projectId not owned by the authenticated principal.
Expected Detection
Triage identifies cross-tenant state change; distinct-key and cross-tenant hunting queries flag the principal.