Skip to content
CVE-2026-137706

Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706)

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.

Vulnerability Intelligence

Theoretical

CVSS

9.9
Critical (9.0–10)

What is CVE-2026-137706 Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706)?

Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706) (CVE-2026-137706) maps to the Privilege Escalation and Persistence and Initial Access tactics — the adversary is trying to gain higher-level permissions in MITRE ATT&CK.

This page provides production-ready detection logic for Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706), covering the data sources and telemetry it touches: Microsoft Sentinel W3CIISLog, Windows Security Events (SecurityEvent). The queries below are rated critical severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Privilege Escalation Persistence Initial Access
Microsoft Sentinel / Defender
kusto
// df00tech DF00-4120f4eb95 · https://df00tech.com/detections/CVE-2026-137706 · licence: https://df00tech.com/detections/licence
let lookback = 1h;
let PortalRequests = W3CIISLog
| where TimeGenerated > ago(lookback)
| where csUriStem has_any ("/api/account/add", "/api/ad/user", "/SmartPortal/Account/Create", "/api/directory/adduser")
| where csMethod in ("POST", "PUT")
| project ReqTime = TimeGenerated, cIP, csUsername, csUriStem, scStatus, csUserAgent;
let ADAccountEvents = SecurityEvent
| where TimeGenerated > ago(lookback)
| where EventID in (4720, 4728, 4732, 4756)
| project AdTime = TimeGenerated, SubjectAccount = strcat(SubjectDomainName, "\\", SubjectUserName), TargetAccount = strcat(TargetDomainName, "\\", TargetUserName), EventID, Computer;
PortalRequests
| join kind=inner ADAccountEvents on $left.ReqTime == $right.AdTime
| where AdTime between (ReqTime .. (ReqTime + 5m))
| where scStatus startswith "2"
| project ReqTime, AdTime, cIP, PortalUser = csUsername, csUriStem, SubjectAccount, TargetAccount, EventID, Computer
| extend Message = strcat("Smart Portal account-add request by ", PortalUser, " from ", cIP, " correlated with AD event ", tostring(EventID), " creating/modifying ", TargetAccount)

Correlates Smart Portal account-provisioning HTTP requests (IIS logs) with Active Directory account creation (4720), privileged group additions (4728/4732) and universal group additions (4756) occurring within 5 minutes, surfacing unauthorized AD account additions via the vulnerable endpoint.

critical severity medium confidence

Data Sources

Microsoft Sentinel W3CIISLog Windows Security Events (SecurityEvent)

Required Tables

W3CIISLog SecurityEvent

False Positives

  • Legitimate Smart Portal administrators performing authorized account onboarding during IT provisioning windows.
  • Automated HR-to-AD provisioning jobs routed through the portal service account.
  • Penetration tests or authorized access-control audits exercising the provisioning endpoint.

Query fingerprint DF00-4120f4eb95 · licence

Sigma logsource & community rules

The detection logic for Smart Portal Missing Authorization, Unauthorized Active Directory Account Addition (CVE-2026-137706) (CVE-2026-137706) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  product: windows

Browse the community-maintained Sigma rules for this technique:


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 unauthorized provisioning endpoint call

    Expected signal: IIS/web log entry: POST /api/account/add with 2xx status from the low-privilege portal session.

  2. Test 2 Create AD account mimicking portal service action

    Expected signal: Windows Security Event 4720 (A user account was created) on the domain controller.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. 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.
  2. 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.
  3. Force a password reset and session invalidation for the compromised low-privilege portal account used to reach the endpoint.

Evidence Collection

  1. Preserve IIS/web access logs, Smart Portal application logs, and Windows Security event logs (4720/4728/4732/4756) covering the exploitation window.
  2. 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.

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

Test 1 Simulate unauthorized provisioning endpoint call
linux

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

bash
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

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

Test 2 Create AD account mimicking portal service action
windows

Create a domain user account to emulate the AD-side telemetry (4720) produced when the vulnerable portal performs the provisioning (lab DC only).

Command

powershell
net user atk_svc01 P@ssw0rd!23 /add /domain

Cleanup

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

Test 3 Add created account to a privileged AD group
windows

Add the simulated account to a privileged group to emulate the escalation step the vulnerability enables (lab DC only).

Command

powershell
net group "Domain Admins" atk_svc01 /add /domain

Cleanup

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

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections