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

Detect LaraDashboard Social Login Authentication Bypass (CVE-2026-130754) in Google Chronicle

Detects exploitation of CVE-2026-130754, an authentication bypass in LaraDashboard's SocialAuthService::findOrCreateUser(). The method links an incoming OAuth/social login to an existing local account purely by matching the email address returned by the social provider, without verifying that the social provider has validated email ownership or that the local account consented to the link. An attacker who can obtain a social-provider token asserting a victim's email (for example via a provider that does not verify email, or an attacker-controlled app on a lax provider) can take over any existing LaraDashboard account, including administrators. All versions are affected. Detection focuses on the web and application telemetry of social-login callback flows: OAuth callback requests that resolve to an existing (especially privileged) account, logins where the social-linked email differs from the originally registered authentication method, first-time social logins immediately followed by privileged actions, and anomalous source, geo or device for the account.

Based on LaraDashboard GitHub Security Advisory GHSA-c5x3-wvxj-7cgr

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation

YARA-L Detection Query

Google Chronicle (YARA-L)
yaral
// df00tech DF00-b3680888a0 · https://df00tech.com/detections/CVE-2026-130754 · licence: https://df00tech.com/detections/licence
rule laradashboard_social_auth_bypass_cve_2026_130754 {
  meta:
    author = "Argus Detection Platform"
    description = "LaraDashboard social-login account takeover via email-match linking (CVE-2026-130754)"
    severity = "CRITICAL"
  events:
    $e.metadata.product_name = /laradashboard/ nocase
    $e.target.url = /\/(?:auth|socialite|login|oauth)\/[a-zA-Z0-9_-]+\/callback/ nocase
    $e.additional.fields["auth_method"] = "social"
    $e.additional.fields["prior_auth_method"] != "social"
    $e.target.user.userid = $user
  match:
    $user over 5m
  condition:
    $e
}
critical severity medium confidence

Chronicle YARA-L 2.0 rule detecting LaraDashboard social-login callbacks that linked to an account whose prior authentication method was not social, grouped per target user.

Data Sources

Web Server LogsLaraDashboard Application Logs

Required Tables

UDM Events

False Positives & Tuning

  • Legitimate first social login for a user with a matching email.
  • Deliberate provider linking by the account owner.
  • UDM normalization gaps leaving prior_auth_method unset.

Other platforms for CVE-2026-130754


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 Simulate social-login account takeover via email match (lab)

    Expected signal: Web access log entry for /auth/github/callback and an application auth event social_login_linked with auth_method=social and prior_auth_method=password for the victim user.

  2. Test 2 Privileged account targeting via social callback (lab)

    Expected signal: Application auth event social_login_linked with is_admin=true, auth_method=social, prior_auth_method!=social.

  3. Test 3 Post-takeover privileged action burst (lab)

    Expected signal: Auth link event followed within the same session by user-creation and token-issuance application events from the same src_ip.

Last updated: Research depth: standard
References (1)

Response Playbook

Triage

  1. Identify the target account from the social-login event (user_id/user_email) and determine whether it pre-existed the social login and whether it holds admin/privileged roles.
  2. Compare the account's original authentication method and historical login IPs/devices/geos against the social-login callback source; a new provider plus new source region is strong evidence of takeover.
  3. Pull the full OAuth callback request: provider name, returned email, and whether the provider is one known to verify email ownership. Unverified-email providers materially raise confidence.
  4. Check for privileged actions (role changes, user creation, API token issuance, data export) occurring in the same session immediately after the social login linked.

Containment

  1. Immediately revoke the active session(s) for the affected account and invalidate any API tokens issued during or after the suspicious social login.
  2. Disable social-login-based account linking for existing accounts (or force re-verification) until LaraDashboard is patched, and lock the affected account pending owner re-verification via a trusted channel.
  3. If an admin account was taken over, rotate application and infrastructure secrets that the account could have accessed.

Evidence Collection

  1. Preserve web server access logs for the OAuth callback endpoints, including source IP, user agent, provider, and timestamps.
  2. Export LaraDashboard application auth logs showing the social_login_linked / login_success events, user_id, email, auth_method and prior_auth_method.
  3. Capture the OAuth provider's token/userinfo response if available (claims, email_verified flag) and any audit records of privileged actions performed in the session.

Escalation Criteria

  • !Escalate to incident response immediately if the linked account is an administrator or holds elevated privileges.
  • !Escalate if privileged actions (role grants, user/token creation, data export, configuration changes) occurred in the post-link session.
  • !Escalate if multiple distinct accounts were linked from a single source IP or if the source provider is known not to verify email ownership.

Investigation Guide

Forensic Artifacts

  • >Web server access logs for /auth|/socialite|/oauth/*/callback endpoints.
  • >LaraDashboard application auth logs recording auth_method, prior_auth_method, user_email and is_admin.
  • >OAuth provider token/userinfo responses and the application's stored social-account linkage records in the database (e.g. social_accounts / users tables).

Tuning Guidance

Tune by maintaining an allowlist of OAuth providers that cryptographically verify email ownership (email_verified=true) and suppress alerts where the provider is trusted AND the link was owner-initiated via the in-app settings flow. Baseline each account's normal login IPs/geos/devices to reduce first-time-legitimate-login noise, and prioritize alerts where is_admin=true or where privileged actions follow within the same session. If prior_auth_method is not logged, add it to LaraDashboard's auth event schema before relying on these rules, and treat empty values as 'investigate' rather than suppress.


Hunting Queries

Baseline and hunt for social-login links against pre-existing (especially privileged) accounts whose prior authentication method was not social.

Hunting — KQL
kql
// df00tech DF00-b3680888a0 · https://df00tech.com/detections/CVE-2026-130754 · licence: https://df00tech.com/detections/licence
AppServiceHTTPLogs | where CsUriStem has 'callback' and CsUriStem has_any ('auth','socialite','oauth') | summarize Callbacks=count(), Ips=dcount(CIp) by bin(TimeGenerated,1d) | where Callbacks > 0
Hunting — SPL
spl
``` df00tech DF00-b3680888a0 · https://df00tech.com/detections/CVE-2026-130754 · licence: https://df00tech.com/detections/licence ```
index=app sourcetype="laradashboard:auth" event="social_login_linked" prior_auth_method!="social" | stats count by user_email, is_admin, src_ip | sort - count

Atomic Red Team Tests

Test 1 Simulate social-login account takeover via email match (lab)
linux

In an isolated LaraDashboard lab, register a victim account with password auth, then complete a social-login callback asserting the victim's email from a mock provider that does not verify email, and confirm the session resolves to the victim account.

Command

bash
curl -s -c /tmp/ld_cookies.txt 'https://laradashboard.lab/login' >/dev/null; curl -s -b /tmp/ld_cookies.txt 'https://laradashboard.lab/auth/github/callback?code=MOCK_CODE_FOR_VICTIM_EMAIL&state=TESTSTATE' -o /tmp/ld_callback_resp.html; grep -i 'dashboard\|admin' /tmp/ld_callback_resp.html

Cleanup

bash
rm -f /tmp/ld_cookies.txt /tmp/ld_callback_resp.html

Expected Telemetry

Web access log entry for /auth/github/callback and an application auth event social_login_linked with auth_method=social and prior_auth_method=password for the victim user.

Expected Detection

KQL/SPL callback correlation and the prior_auth_method!=social rules fire on the victim account.

Test 2 Privileged account targeting via social callback (lab)
linux

Repeat the callback flow asserting an administrator's email to demonstrate admin takeover and confirm the is_admin branch of the detections triggers.

Command

bash
curl -s -b /tmp/ld_admin.txt 'https://laradashboard.lab/socialite/google/callback?code=MOCK_ADMIN_EMAIL&state=TESTSTATE' -o /tmp/ld_admin_resp.html; grep -i 'admin\|users\|settings' /tmp/ld_admin_resp.html

Cleanup

bash
rm -f /tmp/ld_admin.txt /tmp/ld_admin_resp.html

Expected Telemetry

Application auth event social_login_linked with is_admin=true, auth_method=social, prior_auth_method!=social.

Expected Detection

All seven dialect rules flag the is_admin=true privileged-takeover condition as critical.

Test 3 Post-takeover privileged action burst (lab)
linux

After a simulated social-login takeover, perform a privileged action (create a user / issue an API token) in the same session to validate the playbook's same-session escalation criteria and hunting queries.

Command

bash
curl -s -b /tmp/ld_admin.txt -X POST 'https://laradashboard.lab/admin/users' -d 'name=atk&[email protected]&role=admin' -o /tmp/ld_create.json; curl -s -b /tmp/ld_admin.txt -X POST 'https://laradashboard.lab/admin/tokens' -d 'name=persist' -o /tmp/ld_token.json

Cleanup

bash
rm -f /tmp/ld_create.json /tmp/ld_token.json /tmp/ld_admin.txt

Expected Telemetry

Auth link event followed within the same session by user-creation and token-issuance application events from the same src_ip.

Expected Detection

Elastic EQL sequence and the playbook same-session escalation logic correlate the link event with the subsequent privileged actions.

Related Detections