Detect Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706) in Google Chronicle
Detects exploitation of CVE-2026-137706, a Missing Authorization (CWE-862) vulnerability in Direk Tech's Smart Portal. An authenticated remote attacker with low privileges can invoke privileged account-management functionality that lacks proper authorization checks, allowing them to add an attacker-specified account into Active Directory (and potentially into privileged groups). Because the flaw is a broken access-control issue rather than a memory-corruption bug, exploitation manifests as (1) web-application requests to account-provisioning endpoints by non-administrative Smart Portal users, and (2) correlated Active Directory account-creation / group-membership-change events (Windows Security 4720/4728/4732/4756) attributed to the Smart Portal service account shortly after. Detection focuses on this cross-correlation plus anomalous invocation of the privileged provisioning function by a low-privilege session.
MITRE ATT&CK
YARA-L Detection Query
// df00tech DF00-4120f4eb95 · https://df00tech.com/detections/CVE-2026-137706 · licence: https://df00tech.com/detections/licence
rule smart_portal_cve_2026_137706_unauth_ad_add {
meta:
author = "Argus Detection Platform"
description = "Correlates Smart Portal account-add web requests with AD account creation/group changes (CVE-2026-137706)"
severity = "CRITICAL"
events:
$web.metadata.event_type = "NETWORK_HTTP"
(
re.regex($web.target.url, `/api/account/add|/api/ad/user|/SmartPortal/Account/Create|/api/directory/adduser`)
)
$web.network.http.response_code >= 200
$web.network.http.response_code < 300
$web.principal.hostname = $host
$ad.metadata.product_event_type = /4720|4728|4732|4756/
$ad.principal.hostname = $host
$web.metadata.event_timestamp.seconds <= $ad.metadata.event_timestamp.seconds
match:
$host over 5m
condition:
$web and $ad
} YARA-L rule matching a Smart Portal provisioning request followed by an AD account-creation/group-change event on the same host within 5 minutes.
Data Sources
Required Tables
False Positives & Tuning
- Authorized admin provisioning.
- Identity automation pipelines.
- Authorized testing.
Other platforms for CVE-2026-137706
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 Simulate unauthorized provisioning endpoint call
Expected signal: IIS/web log entry: POST /api/account/add with 2xx status from the low-privilege portal session.
- Test 2 Create AD account mimicking portal service action
Expected signal: Windows Security Event 4720 (A user account was created) on the domain controller.
- Test 3 Add created account to a privileged AD group
Expected signal: Windows Security Event 4728/4732 (member added to a security-enabled group) on the domain controller.
Response Playbook
Triage
- Identify the Smart Portal session that issued the account-add request: extract the authenticated portal username, source IP and user-agent from the IIS log, and confirm whether that user holds a legitimate administrative/provisioning role in the portal.
- Enumerate the AD object(s) created or modified in the correlated 4720/4728/4732/4756 events, record the target sAMAccountName, the groups it was added to (especially Domain Admins, Enterprise Admins, Account Operators) and the subject (service) account that performed the change.
- Confirm whether the account addition corresponds to any approved change ticket or HR onboarding record; absence of an authorizing ticket from a non-admin portal user strongly indicates exploitation.
- Review the portal application logs around the request time for authorization errors, role checks bypassed, or direct-object-reference manipulation on the provisioning endpoint.
Containment
- Disable or delete the attacker-created AD account immediately and remove it from any privileged groups it was added to; reset credentials of the Smart Portal service account used to perform the change.
- Block the offending Smart Portal session/user and source IP, and temporarily disable the vulnerable account-provisioning endpoint (WAF rule or application config) until a vendor patch is applied.
- Force a password reset and session invalidation for the compromised low-privilege portal account used to reach the endpoint.
Evidence Collection
- Preserve IIS/web access logs, Smart Portal application logs, and Windows Security event logs (4720/4728/4732/4756) covering the exploitation window.
- Export the AD object metadata (whenCreated, whenChanged, memberOf, and the modifying account) for the created account and capture a replication-metadata (repadmin /showobjmeta) snapshot.
Escalation Criteria
- !Escalate to incident response immediately if the created account was added to a privileged group (Domain Admins, Enterprise Admins, Account Operators, Schema Admins).
- !Escalate if the portal user who triggered the addition is non-administrative or if multiple accounts were created across a short window, indicating active abuse rather than a single misconfiguration.
Investigation Guide
Forensic Artifacts
- >
IIS W3C log entries for the provisioning endpoint with the authenticated portal username and source IP. - >
Windows Security events 4720 (user created), 4728/4732/4756 (group membership added) attributed to the Smart Portal service account. - >
AD object replication metadata (whenCreated / modifying DSA) for the newly created account.
Tuning Guidance
Baseline the legitimate Smart Portal service account(s) that perform authorized provisioning and the normal set of portal users with admin roles; exclude approved onboarding windows and scheduled identity-automation jobs. Tighten the correlation window (default 5m) if the portal performs synchronous AD writes, and alert-suppress known HR-integration source IPs. Prioritize alerts where the target account is added to a privileged group over plain user creation.
Hunting Queries
Hunts for AD account creations performed by the Smart Portal service/machine account and correlates them with subsequent privileged group additions.
// df00tech DF00-4120f4eb95 · https://df00tech.com/detections/CVE-2026-137706 · licence: https://df00tech.com/detections/licence
SecurityEvent | where EventID == 4720 | join kind=leftouter (SecurityEvent | where EventID in (4728,4732,4756)) on $left.TargetSid == $right.MemberSid | where SubjectUserName endswith "$" or SubjectUserName has "portal" | project TimeGenerated, SubjectUserName, TargetUserName, EventID ``` df00tech DF00-4120f4eb95 · https://df00tech.com/detections/CVE-2026-137706 · licence: https://df00tech.com/detections/licence ```
index=wineventlog sourcetype="WinEventLog:Security" EventCode=4720 | stats earliest(_time) as created by TargetUserName Account_Name | where like(Account_Name,"%portal%") OR like(Account_Name,"%svc%") Atomic Red Team Tests
Send an authenticated low-privilege POST to the Smart Portal account-add endpoint to generate the web-request telemetry half of the correlation (lab only).
Command
curl -sk -X POST 'https://smartportal.lab.local/api/account/add' -H 'Cookie: SPSESSION=lowprivuser' -H 'Content-Type: application/json' -d '{"username":"atk_svc01","group":"Domain Admins"}' Cleanup
echo 'No local artifacts; remove any lab account created server-side via the AD cleanup test below.' Expected Telemetry
IIS/web log entry: POST /api/account/add with 2xx status from the low-privilege portal session.
Expected Detection
KQL/SPL web-request leg matches; full alert fires when correlated with the AD creation event below.
Create a domain user account to emulate the AD-side telemetry (4720) produced when the vulnerable portal performs the provisioning (lab DC only).
Command
net user atk_svc01 P@ssw0rd!23 /add /domain Cleanup
net user atk_svc01 /del /domain Expected Telemetry
Windows Security Event 4720 (A user account was created) on the domain controller.
Expected Detection
AD-creation leg of the KQL/SPL/EQL correlation matches EventID 4720.
Add the simulated account to a privileged group to emulate the escalation step the vulnerability enables (lab DC only).
Command
net group "Domain Admins" atk_svc01 /add /domain Cleanup
net group "Domain Admins" atk_svc01 /del /domain Expected Telemetry
Windows Security Event 4728/4732 (member added to a security-enabled group) on the domain controller.
Expected Detection
Privileged-group-addition leg matches EventID 4728/4732 and raises alert severity.