Skip to content
CVE-2026-113824 Google Chronicle · YARA-L

Detect CVE-2026-113824: Microsoft Clarity IDOR Authorization Bypass (Privilege Escalation) in Google Chronicle

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

Tactic
Privilege Escalation Initial Access

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
// df00tech DF00-aa5e23ef9e · https://df00tech.com/detections/CVE-2026-113824 · licence: https://df00tech.com/detections/licence
rule cve_2026_113824_clarity_idor {
  meta:
    author = "Argus Detection Platform"
    description = "Microsoft Clarity authorization bypass via user-controlled key (CVE-2026-113824)"
    severity = "HIGH"
  events:
    $e.metadata.event_type = "NETWORK_HTTP"
    $e.target.url = /\/api\/(project|user|session)/ nocase
    $e.network.http.response_code = 200
    $e.target.url = /(projectId|userId|sessionId|accountId|key)=/ nocase
    $ip = $e.principal.ip
  match:
    $ip over 1h
  condition:
    #e > 30
}
high severity medium confidence

Chronicle YARA-L rule surfacing a principal IP making more than 30 successful object-keyed requests to Clarity API endpoints within an hour.

Data Sources

Microsoft Clarity API access logsHTTP telemetry

Required Tables

NETWORK_HTTP

False Positives & Tuning

  • Legitimate admin bulk access to owned projects
  • Monitoring probes
  • Shared egress IP addresses

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.

  1. 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.

  2. 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.

  3. 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.

Last updated: Research depth: standard
References (1)

Response Playbook

Triage

  1. 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.
  2. 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.
  3. Correlate the request timeline for 403-then-200 sequences or sequential/enumerated identifiers that indicate deliberate key substitution rather than normal usage.
  4. Check whether any flagged requests performed state-changing or privilege-affecting operations (role assignment, settings change, data export) versus read-only access.

Containment

  1. Revoke or rotate the suspect principal's session tokens and API keys, and temporarily suspend the account if cross-tenant access is confirmed.
  2. Apply a WAF/API-gateway rule to block the offending source IP and enforce per-request object-level authorization checks on affected Clarity endpoints.
  3. Engage Microsoft/MSRC guidance and apply the vendor patch or configuration mitigation for CVE-2026-113824 as soon as available.

Evidence Collection

  1. Preserve full API access logs (request URLs, object keys, principal identity, status codes, timestamps) for the affected window.
  2. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Sequential object-key enumeration against Clarity API
linux

Simulates IDOR enumeration by iterating project identifiers with a single authenticated session (lab only).

Command

bash
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

bash
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.

Test 2 Key substitution after authorization failure
linux

Simulates a 403 on an owned resource followed by a 200 on a cross-tenant key via substitution.

Command

bash
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

bash
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.

Test 3 Cross-tenant privileged write via substituted key
windows

Simulates a state-changing request against another tenant's object using a substituted key (lab only).

Command

powershell
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
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.

Related Detections