Tag: Azure

Hunting after CVE-2026-58630: 6 Sigma rules for App Service credential abuse

Hunting after CVE-2026-58630: 6 Sigma rules for App Service credential abuse

Writing detections for a CVE with no IOCs, no mechanism and no patch feels a bit like building a smoke alarm for a fire that already went out. Microsoft gave CVE-2026-58630 a 10.0, fixed it on its own side before the July 23, 2026 advisory, and published one sentence about it. I covered what is and isn’t known in my analysis of the bug.

So let me be upfront: none of the six rules below detects CVE-2026-58630. They detect what anyone with elevated access to an App Service app would do next, whether they got it through a platform bug, a phished admin or an over-broad role: pull the deployment credentials, use them, and change the app so access sticks. That behaviour is the same with or without a CVE, which is why I think these are worth running permanently, and why I’d retro-hunt them over whatever log history you still have from before July 24.

At a glance

  • Rules: 6 (four single-event rules, one hunting base rule, one Sigma correlation). One is test, five are experimental.
  • Domain: Cloud-Azure.
  • Log sources: Azure Activity log (azure/activitylogs, Sentinel AzureActivity) and the App Service resource log AppServiceAuditLogs. Microsoft says resource logs aren’t collected by default and need a diagnostic setting.
  • ATT&CK: T1552 Unsecured Credentials, T1078.004 Cloud Accounts, T1556 Modify Authentication Process, T1505 Server Software Component.
  • What they are: hunting and hardening rules for App Service credential and config abuse. Not exploit signatures.
  • YAML: Detection Rules/Cloud/Azure in my GitHub repo.

The case in brief

CVE-2026-58630 is an improper access control (CWE-284) elevation of privilege in Azure App Service. Microsoft scored it AV:N/PR:N/UI:N with scope changed, says it was not exploited, and marked it “no customer action required”. The component, the exposure window and the rollout date of the fix are not public as of November 25, 2026. The full story, including the Azure Stack Hub naming mismatch, is in the analysis.

For detection that leaves one useful question: what does elevated access to an App Service app buy you, and where does using it show up? Microsoft answered that in May 2026, in a different case. In its Storm-2949 report, the actor called publishxml/action to download publishing profiles, which carry FTP, Web Deploy and Kudu credentials, and used them to get into auxiliary App Service apps. I used that as the template. Step one, credentials through the management plane, lands in the Activity log. Step two, logging in with them, lands in AppServiceAuditLogs. Step three, persistence through auth or deployment changes, is back in the Activity log.

Detection map

Block diagram: the Azure Activity log and AppServiceAuditLogs feed six Sigma rules (publishing profile retrieved, basic-credential publishing login, profile pulled then used correlation, basic auth policy changed, source control or extension changed, settings or Functions keys listed) mapped to ATT&CK T1552, T1078.004, T1556 and T1505, with the exploit itself and routine deploys and reads marked as gaps.
Two log sources, six rules. The CVE itself leaves no known tenant-visible trace.

Two log sources feed six rules. The single highest-signal one is the correlation in the middle: a profile pulled and then used for a basic-auth login on the same app within an hour. Around it sit the single-event rules for credential access and persistence, two of them tuned as hunting rules because they fire on everyday admin work. On the right are the gaps I couldn’t close with Sigma, starting with the obvious one: the exploit itself happened on Microsoft’s side, and nobody has said it leaves anything a tenant can see.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
Publishing profile retrievedCloud-AzureActivity logCredential Access / T1552Mediumtest
Publishing login with basic credentialsCloud-AzureAppServiceAuditLogsPersistence / T1078.004Low (hunting)experimental
Profile retrieved, then used for basic login (correlation)Cloud-AzureBothCredential Access, Persistence / T1552, T1078.004Highexperimental
Basic auth publishing policy changedCloud-AzureActivity logPersistence / T1556Mediumexperimental
Source control or site extension changedCloud-AzureActivity logPersistence / T1505Mediumexperimental
Sensitive settings or Functions keys listedCloud-AzureActivity logCredential Access / T1552Low (hunting)experimental

A note on tags: I left the cve.2026-58630 tag off on purpose. Plenty of tooling counts CVE tags as coverage, and these rules don’t cover the CVE. The CVE is named in each description instead.

The rules

Azure App Service Publishing Profile Retrieved

Context: Microsoft says a publishing profile often contains basic-auth credentials for FTP, Web Deploy and the Kudu console. Datadog’s Stratus Red Team goes further: it says the XML holds the FTP and Web Deploy credentials in cleartext and that anyone with read-or-higher access can call publishxml without touching Key Vault. This is the step Storm-2949 used, and Stratus documents a sample Activity log event for it. That’s why this is the only rule I marked test: the operation name and the telemetry are confirmed, not guessed.

Condition: alert when anyone calls the publish-profile action on an App Service app or deployment slot.

ATT&CK: Credential Access (TA0006) – T1552 Unsecured Credentials.

title: Azure App Service Publishing Profile Retrieved
id: 1619694c-4499-4da8-b517-04386221afcb
name: azure_app_service_publishxml
status: test
description: |
    Detects retrieval of an App Service or slot publishing profile through the Azure management plane. Microsoft says the
    profile often contains basic-auth credentials for FTP, Web Deploy and Kudu; Storm-2949 used this action to compromise
    App Service apps. Hunting and hardening rule, not an exploit signature for CVE-2026-58630 (no IOCs are public).
references:
    - https://github.com/DataDog/stratus-red-team/blob/main/docs/attack-techniques/azure/azure.credential-access.app-service-publishing-credentials.md
    - https://www.microsoft.com/en-us/security/blog/2026/05/18/storm-2949-turned-compromised-identity-into-cloud-wide-breach/
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.credential-access
    - attack.t1552
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/PUBLISHXML/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/PUBLISHXML/ACTION'
    condition: selection
falsepositives:
    - Developers clicking "Download publish profile" in the portal, or Visual Studio and older pipeline tasks that import a profile
    - Infrastructure-as-code or backup tooling that exports profiles; baseline callers per app and alert on a new caller or IP
level: medium

View on GitHub

False positives and tuning: the portal’s “Download publish profile” button, Visual Studio publish and older pipeline tasks all call this. Baseline callers and source IPs per app for 30 days, then alert on a new caller or a new IP. Stratus notes the operation is logged even when basic auth is disabled. Keep the rule on for those apps too: there, in my view, a profile download is even more suspicious, because nobody should need it.

How to test: in a lab subscription run az webapp deployment list-publishing-profiles -g <rg> -n <app> --xml, or stratus detonate azure.credential-access.app-service-publishing-credentials.

Azure App Service Publishing Login With Basic Credentials

Context: once someone has the profile, they log in over FTP, Web Deploy or Kudu. AppServiceAuditLogs records publishing logins with User, UserAddress and Protocol. Microsoft’s two pages differ on scope: the table reference says successful logons, the basic auth guide says successful and attempted logins, and the records carry no result field. The table reference says UserDisplayName holds an email address when publishing was authorised through Entra, and Microsoft’s basic-auth FTP example shows the app’s $ publishing user there instead. My inference: no @ in that field means basic publishing credentials. That’s not documented in so many words, so the rule is experimental.

Condition: flag any publishing login event where UserDisplayName contains no email address.

ATT&CK: Persistence (TA0003) – T1078.004 Valid Accounts: Cloud Accounts.

title: Azure App Service Publishing Login With Basic Credentials
id: f76d71dd-63dc-4f23-8283-15c6f486f4b8
name: azure_app_service_publishing_login_basic
status: experimental
description: |
    Hunting rule for FTP, Web Deploy or Kudu login events on an App Service app where UserDisplayName holds no email
    address. Microsoft documents an email there for Entra-authorised publishing, and its basic-auth FTP example shows
    the $app publishing user instead; treating "no @" as basic auth is my inference. Not a CVE-2026-58630 signature.
references:
    - https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/appserviceauditlogs
    - https://learn.microsoft.com/en-us/azure/app-service/configure-basic-auth-disable
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.persistence
    - attack.t1078.004
    - detection.threat-hunting
logsource:
    product: azure
    service: appserviceauditlogs
detection:
    selection:
        Category: 'AppServiceAuditLogs'
    filter_main_entra_user:
        UserDisplayName|contains: '@'
    condition: selection and not filter_main_entra_user
falsepositives:
    - Legacy FTP or Web Deploy pipelines that still use the publishing profile; move them to OIDC or managed identity
    - Apps where basic auth is intentionally enabled
level: low

View on GitHub

False positives and tuning: on apps that still deploy with FTP or a publishing profile this fires on every deploy, which is why it’s low and mainly feeds the correlation. Field names are the Log Analytics columns; if you stream resource logs through Event Hub they sit under properties.*, so map them in your pipeline. The logsource service appserviceauditlogs is my own name: SigmaHQ’s taxonomy appendix lists only activitylogs, auditlogs, riskdetection, pim and signinlogs for Azure.

How to test: enable basic auth on a lab app, add a diagnostic setting for AppServiceAuditLogs, and connect with an FTP client using the profile credentials.

Azure App Service Publishing Profile Retrieved Then Used For Basic Login

Context: either event alone is common in a busy subscription. A profile pull followed by a basic-auth login on the same app shortly after is the sequence Microsoft describes for Storm-2949. In my experience it’s uncommon for legitimate users, and Microsoft’s own guidance pushes deployments toward Entra, managed identity and OpenID Connect instead of basic auth.

Condition: alert when a publishing profile is downloaded and, within one hour, a basic-credential publishing login hits the same App Service resource. The one-hour window is my choice; no source gives a timing.

ATT&CK: Credential Access (TA0006) – T1552 Unsecured Credentials; Persistence (TA0003) – T1078.004 Cloud Accounts.

title: Azure App Service Publishing Profile Retrieved Then Used For Basic Login
id: e4c61c2a-dcaf-47f7-9685-ac7fe75fc695
status: experimental
description: |
    Detects a publishing profile download followed, within one hour, by a basic-credential FTP, Web Deploy or Kudu login
    on the same App Service resource, the sequence Microsoft's Storm-2949 report describes. Hunting and
    hardening rule, not an exploit signature for CVE-2026-58630; the one-hour window is my choice, not a source value.
references:
    - https://www.microsoft.com/en-us/security/blog/2026/05/18/storm-2949-turned-compromised-identity-into-cloud-wide-breach/
    - https://github.com/DataDog/stratus-red-team/blob/main/docs/attack-techniques/azure/azure.credential-access.app-service-publishing-credentials.md
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.credential-access
    - attack.persistence
    - attack.t1552
    - attack.t1078.004
correlation:
    type: temporal_ordered
    rules:
        - azure_app_service_publishxml
        - azure_app_service_publishing_login_basic
    aliases:
        app_resource:
            azure_app_service_publishxml: resourceId
            azure_app_service_publishing_login_basic: _ResourceId
    group-by:
        - app_resource
    timespan: 1h
falsepositives:
    - A developer who downloads the profile and deploys with it from Visual Studio or an FTP client in the same hour
level: high

View on GitHub

False positives and tuning: a developer downloading the profile and deploying from Visual Studio in the same hour will trip it. That’s also a habit worth breaking. The join is on the resource ID, which the Activity log often writes in upper case and resource logs in lower case, so normalise case first. If your backend can’t convert Sigma correlations, this KQL does the same job in Sentinel or Log Analytics:

AzureActivity
| where OperationNameValue in~ ("MICROSOFT.WEB/SITES/PUBLISHXML/ACTION",
                                "MICROSOFT.WEB/SITES/SLOTS/PUBLISHXML/ACTION")
| project PullTime = TimeGenerated, Caller, CallerIpAddress, Site = tolower(_ResourceId)
| join kind=inner (
    AppServiceAuditLogs
    | where UserDisplayName !contains "@"
    | project LoginTime = TimeGenerated, User, UserAddress, Protocol, Site = tolower(_ResourceId)
  ) on Site
| where LoginTime between (PullTime .. (PullTime + 1h))
| project PullTime, LoginTime, Site, Caller, CallerIpAddress, User, UserAddress, Protocol

How to test: run the two tests above against the same lab app within the hour.

Azure App Service Basic Auth Publishing Policy Changed

Context: Microsoft’s guidance, and my advice in the analysis, is to disable FTP and SCM basic auth through the basicPublishingCredentialsPolicies resource. An attacker who wants the profile credentials to work flips it back. That should almost never happen once a tenant has rolled out the hardening.

Condition: alert on any write to the FTP or SCM basic auth policy of an app or slot, unless the logged request body shows "allow": false.

ATT&CK: Persistence (TA0003) – T1556 Modify Authentication Process.

title: Azure App Service Basic Auth Publishing Policy Changed
id: 3c3f0ea3-b47b-47c1-96f1-59e7ea4f1ee3
status: experimental
description: |
    Detects a write to the FTP or SCM basic authentication publishing policy of an App Service app or slot, unless the
    logged request body shows it being disabled. Re-enabling basic auth brings back long-lived deploy passwords. Hardening
    rule, not an exploit signature for CVE-2026-58630; the request body logic is inferred and depends on your export.
references:
    - https://learn.microsoft.com/en-us/azure/app-service/configure-basic-auth-disable
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.persistence
    - attack.t1556
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/BASICPUBLISHINGCREDENTIALSPOLICIES/WRITE'
            - 'MICROSOFT.WEB/SITES/SLOTS/BASICPUBLISHINGCREDENTIALSPOLICIES/WRITE'
    filter_main_disable:
        properties.requestbody|contains:
            - '"allow":false'
            - '"allow": false'
    condition: selection and not filter_main_disable
falsepositives:
    - Planned exceptions where a team needs FTP or Web Deploy basic auth for a legacy tool
    - Policy writes without a logged request body fire as well; check the resulting setting before escalating
    - ARM or Bicep deployments that re-apply the policy resource on every run
level: medium

View on GitHub

False positives and tuning: I built the filter as an exclusion on purpose. If your export doesn’t carry properties.requestbody for this operation (I couldn’t confirm that it does), the rule still fires on every policy write instead of going silent. Expect noise from ARM or Bicep templates that re-apply the policy on each deployment; exclude those deployment identities by caller. The Azure Policy remediation task that turns basic auth off will also show up if no request body is logged.

How to test: on a lab app, run Microsoft’s documented command with true instead of false: az resource update --resource-group <rg> --name scm --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<app> --set properties.allow=true. That covers SCM (Web Deploy and Git); use --name ftp for FTP, and note Microsoft says SCM basic auth must be on before FTP basic auth can be enabled. Repeat both with false to check the filter.

Azure App Service Source Control or Site Extension Changed

Context: pointing an app’s deployment source at a new repository, or installing a site extension, both can put code into the app. My view, not a documented fact: they draw less attention than dropping a file over FTP, and resetting the publishing credentials alone doesn’t undo them.

Condition: alert when someone writes the source control configuration or installs a site extension on an app or slot.

ATT&CK: Persistence (TA0003) – T1505 Server Software Component.

title: Azure App Service Source Control or Site Extension Changed
id: 4053a354-7f2c-413a-9b0d-98efe1ca0b68
status: experimental
description: |
    Detects changes to an App Service app's source control (deployment source) configuration, or installation of a site
    extension, on the app or a slot. Either one lets a caller run code inside the app. Hunting and hardening rule for
    App Service config abuse, not an exploit signature for CVE-2026-58630.
references:
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://learn.microsoft.com/en-us/azure/app-service/monitor-app-service-reference
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.persistence
    - attack.t1505
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/SOURCECONTROLS/WRITE'
            - 'MICROSOFT.WEB/SITES/SLOTS/SOURCECONTROLS/WRITE'
            - 'MICROSOFT.WEB/SITES/EXTENSIONS/WRITE'
            - 'MICROSOFT.WEB/SITES/SLOTS/EXTENSIONS/WRITE'
    condition: selection
falsepositives:
    - Initial setup of GitHub Actions or Azure DevOps deployment from the portal Deployment Center
    - Teams that install site extensions such as monitoring agents; scope to production apps and known owners
level: medium

View on GitHub

False positives and tuning: Deployment Center setup and monitoring-agent extensions are the usual hits. Both are one-off events per app, so the volume stays manageable. Scope to production subscriptions and route to the app owner rather than the SOC queue if you need to.

How to test: connect a test GitHub repository in Deployment Center on a lab app, or install any site extension on a Windows lab app.

Azure App Service Sensitive Settings or Functions Keys Listed

Context: config/list/Action returns what Microsoft calls security-sensitive settings: publishing credentials, app settings and connection strings. The listkeys actions return Functions host and function keys. For a retro-hunt this is where a credential grab would show up if it didn’t use the profile.

Condition: return every call that lists sensitive settings or Functions keys, for review by caller, IP and app.

ATT&CK: Credential Access (TA0006) – T1552 Unsecured Credentials.

title: Azure App Service Sensitive Settings or Functions Keys Listed
id: 26acce63-709c-4cbb-a608-6d163674c25d
status: experimental
description: |
    Hunting rule for listing App Service security-sensitive settings (publishing credentials, app settings, connection
    strings) or Azure Functions host and function keys through the management plane. Useful for a retro-hunt by caller
    and IP; noisy as an alert. Not an exploit signature for CVE-2026-58630.
references:
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.credential-access
    - attack.t1552
    - detection.threat-hunting
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/CONFIG/LIST/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/CONFIG/LIST/ACTION'
            - 'MICROSOFT.WEB/SITES/HOST/LISTKEYS/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/HOST/LISTKEYS/ACTION'
            - 'MICROSOFT.WEB/SITES/FUNCTIONS/LISTKEYS/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/FUNCTIONS/LISTKEYS/ACTION'
    condition: selection
falsepositives:
    - The portal Configuration and Function keys blades call these actions whenever someone opens them
    - Deployment pipelines, Terraform and the Azure CLI read settings and keys on every run
level: low

View on GitHub

False positives and tuning: opening the Configuration blade in the portal calls this, and so does every Terraform plan. Don’t alert on it. Stack it by caller and IP and read the bottom of the list, or join it to your list of identities that normally manage each app.

How to test: az webapp config appsettings list -g <rg> -n <app> or az functionapp keys list -g <rg> -n <app>.

Retro-hunting the pre-fix window

If your workspace still holds data from before July 24, 2026, start with a stack count rather than alerts. These are the two queries from the analysis draft, slightly widened to cover slots, deployments and slot swaps:

AzureActivity
| where TimeGenerated < datetime(2026-07-24)
| where OperationNameValue has "MICROSOFT.WEB/SITES"
| where OperationNameValue has_any ("PUBLISHXML/ACTION", "CONFIG/LIST/ACTION",
    "LISTKEYS/ACTION", "CONFIG/WRITE", "BASICPUBLISHINGCREDENTIALSPOLICIES/WRITE",
    "EXTENSIONS/WRITE", "SOURCECONTROLS/WRITE", "DEPLOYMENTS/WRITE", "SLOTSSWAP/ACTION")
| summarize events = count(), first = min(TimeGenerated), last = max(TimeGenerated)
    by Caller, CallerIpAddress, OperationNameValue, _ResourceId
| order by events asc

AppServiceAuditLogs
| where TimeGenerated < datetime(2026-07-24)
| summarize logins = count(), first = min(TimeGenerated), last = max(TimeGenerated)
    by _ResourceId, User, UserDisplayName, UserAddress, Protocol
| order by logins asc

Remember the retention maths from the analysis: the platform keeps the Activity log for 90 days, which on November 25 reaches back only to August 27. If you never exported it, these queries come back empty for July, and that tells you nothing about July.

Coverage and gaps

StepTacticTechniqueRuleCovered?
Exploit CVE-2026-58630Privilege EscalationUnknown, platform-side–Gap: no mechanism or tenant-visible trace published
Pull publishing profileCredential AccessT1552Publishing profile retrievedYes
List settings, connection strings, Functions keysCredential AccessT1552Settings or keys listedYes (hunting)
Log in with publishing credentialsPersistenceT1078.004Basic login + correlationYes, needs AppServiceAuditLogs
Re-enable basic authPersistenceT1556Basic auth policy changedYes
New deployment source or site extensionPersistenceT1505Source control or extension changedYes
Deployments, zip deploy, slot swaps, app settings rewritesPersistenceT1505–Gap: too routine for a rule; retro-hunt query only
App’s managed identity used against other resourcesCredential AccessT1528–Gap: needs a per-identity baseline
Files and environment variables read through KuduCollection––Gap: the Activity log typically does not capture read operations

The biggest gap is the one I can’t do anything about: the vulnerability itself. CWE-284 with scope changed suggests a boundary inside the platform, and Microsoft hasn’t said whether exploiting it would leave anything in tenant logs at all. Beyond that, two gaps are worth closing with other tools. Managed identity token misuse (MITRE’s T1528 page uses managed identity tokens as an example) needs a baseline of which resources each app identity normally calls, which is a UEBA job on AADManagedIdentitySignInLogs rather than a Sigma rule. Kudu file and environment reads are data-plane activity that the Activity log typically does not capture; the HTTP logs of the app’s SCM site may show some of it, but I haven’t verified what they record. For platform-side detection, Microsoft’s Storm-2949 report recommends Defender for App Service and names a Defender for Resource Manager alert, “Suspicious invocation of a high-risk ‘Credential Access’ operation detected (Preview)”. I haven’t tested what either one fires on.

Deploying the rules

Clone the repo, take the six files from Detection Rules/Cloud/Azure, and convert them with sigma-cli. For Sentinel or Log Analytics the Kusto backend fits best, but its azure_monitor pipeline is marked alpha and, per its README, maps fields only for SecurityEvent and SigninLogs. So pass a small custom pipeline that sets the table to AzureActivity and renames the fields. I checked that this pipeline loads and renames the fields with pySigma’s built-in test backend; I haven’t run it through the Kusto backend itself:

# azureactivity_pipeline.yml
name: AzureActivity table for azure/activitylogs rules
priority: 1
transformations:
- id: azureactivity_table
  type: set_state
  key: "query_table"
  val: ["AzureActivity"]
  rule_conditions:
  - type: logsource
    product: azure
    service: activitylogs
- id: azureactivity_fields
  type: field_name_mapping
  mapping:
    operationName: OperationNameValue
    resourceId: _ResourceId
  rule_conditions:
  - type: logsource
    product: azure
    service: activitylogs

# then
python -m pip install sigma-cli pysigma-backend-kusto
sigma check "Detection Rules/Cloud/Azure"
sigma convert -t kusto -p azure_monitor -p azureactivity_pipeline.yml azure_app_service_publishing_profile_retrieved.yml

The pipeline doesn’t map properties.requestbody, which in AzureActivity sits inside the Properties column, so adjust the basic auth policy rule by hand. For Splunk or Elastic you’ll map the fields yourself: operationName is the Event Hub schema name, and your add-on or integration may rename it. With no pipeline at all, sigma-cli needs --without-pipeline (for example sigma convert -t splunk --without-pipeline <file>) and keeps the field names as written. The AppServiceAuditLogs rule uses Log Analytics column names, so expect to remap it anywhere else. Not every backend converts Sigma correlations yet; where yours doesn’t, use the KQL join above. Run everything in alert-only mode for a week, baseline your pipeline identities, and only then page anyone. All six passed my structural validator (6 of 6 files, no errors or warnings) and sigma check (0 errors, 0 issues) on November 25, 2026. I haven’t converted them with a production backend or run them against a live workspace.

My take

Honestly, CVE-2026-58630 is barely detectable from where a customer sits, and I’d distrust anyone selling a “CVE-2026-58630 detection”. What you can detect is the playbook that follows any App Service takeover, and that playbook is well documented now. If I could turn on only one thing it would be the publishing profile rule, with a per-app caller baseline. It’s cheap, the telemetry is confirmed, and it sits on the exact step Storm-2949 relied on.

The better answer is to make the rules boring. Disable basic auth everywhere, and the profile becomes useless and the login rule goes quiet. Then the policy-change rule becomes your tripwire. I’d also like Microsoft to log App Service publishing logins by default rather than behind a per-app diagnostic setting. A platform that issues 10.0 cloud CVEs with “no customer action” should at least make sure customers have the logs to check that claim against their own tenants.

Sources

CVE-2026-58630: A CVSS 10 Azure App Service Flaw With Nothing to Patch

CVE-2026-58630: A CVSS 10 Azure App Service Flaw With Nothing to Patch

On July 23, 2026, Microsoft published a perfect 10.0 for Azure App Service. Network attack, no credentials, no user interaction, scope changed. Then, in the same advisory, it told every customer there was nothing to do. CVE-2026-58630 is the rare critical bug that you can’t patch, can’t scan for and, four months later, probably can’t fully investigate either.

That last part is why I’m writing about it now. Microsoft says the flaw is fully mitigated on its side. I believe that. But “mitigated” describes the platform after the fix, not your tenant before it, and the default Azure log retention windows have quietly rolled past July 23. If you want to know whether anything touched your apps before the fix, the clock has mostly run out unless you exported logs.

Severity: critical on paper, no known exploitation, zero patch work. The real work is a log question.

At a glance

  • CVE: CVE-2026-58630, CWE-284 (improper access control), elevation of privilege.
  • CVSS 3.1: 10.0 from Microsoft (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N, temporal 8.7). NVD’s own score is 9.8 (S:U, A:H).
  • Product: advisory title says “Azure App Service on Azure Stack Hub”; the CVE record and NVD list “Azure App Service for Linux”, version “-“.
  • Exploitation: Microsoft says not exploited and not publicly disclosed. CISA’s SSVC entry says exploitation none, automatable yes, technical impact total. Not in CISA’s KEV catalog (checked against catalog version 2026.11.25).
  • Fix: mitigated server-side by Microsoft. Customer action required: no.
  • Who should care: anyone running production workloads on App Service (especially Linux plans) who wants to rule out pre-fix abuse, and Azure Stack Hub operators confused by the title.

What we actually know

Very little, and I want to be precise about it. The MSRC entry went live on July 23, 2026 as part of the July 2026 release, revision 1. The full description is one sentence: improper access control in Azure App Service allows an unauthorized attacker to elevate privileges over a network. The FAQ adds that the issue “has already been fully mitigated by Microsoft” and that users have nothing to do. No researcher is credited.

NVD published the CVE on July 24, finished its analysis, and last modified the entry on October 24. The CVE record itself was updated again on November 19, 2026, without any new technical detail that I could find. Both carry the exclusively-hosted-service tag, which is Microsoft’s marker for “this lives only in our cloud, you don’t patch it”.

What nobody has published, as of November 25, 2026: the affected component, the attack surface (front end, Kudu, worker isolation, something else), when the bug was introduced, when the mitigation actually rolled out, and whether any tenant was notified. If you read a write-up that explains the mechanism, ask where it came from. The secondary coverage I checked, including the Safeguard.sh post from October 18, says plainly that the MSRC page could not be read, so it couldn’t describe the mechanism either. Some pages get the fix wrong: the IONIX threat center entry from July 24 tells readers to “Apply the security update published by Microsoft” and recommends immediate patching. There is no update to apply.

How it works, and why I can’t tell you

I won’t invent a mechanism. CWE-284 is the broadest access control bucket there is: “the system didn’t check whether you were allowed to do this”. What the vector does tell us is the shape of the problem.

PR:N and UI:N mean no account and no victim click. AC:L means no special conditions. C:H and I:H with A:N means reading and changing things, not knocking them over. The interesting part is S:C, scope changed. In CVSS terms that means the vulnerable component and the impacted component sit under different security authorities. On a multi-tenant platform, that is the kind of score you’d expect for a bug that crosses a boundary Microsoft relies on, such as from one app or sandbox into something it shouldn’t reach. I’m careful here: Microsoft has not said tenant-to-tenant, and S:C can also describe a jump from an app into the platform layer.

NVD disagreed. NIST scored it S:U with availability high, landing at 9.8. Two scorers, same one-line description, different reading of the blast radius. That tells me NIST didn’t have more information than the rest of us.

Then there is the name. The advisory title says Azure App Service on Azure Stack Hub, which is the version that customers run themselves on their own Stack Hub hardware. The affected-product field says Azure App Service for Linux, the public multi-tenant service. The MITRE record even uses a generic azure_app_service CPE while NVD uses azure_app_service_for_linux. A cloud-only tag plus “no customer action” fits the public service much better than a product you install and upgrade yourself. My read is that the title is the outlier, but that’s an inference, not something Microsoft has confirmed.

Timeline from Microsoft's June 2024 cloud CVE policy through the July 23, 2026 advisory, NVD publication and analysis, the Azure Stack Hub 26R1 release, the November 19 CVE record update, and the point where the 90-day activity log window passed the advisory date.
CVE-2026-58630 disclosure timeline. The start of the vulnerable window and the mitigation rollout date are not public.

Who is affected and how badly

Going forward, nobody. The open question is backward-looking: was it exploited before the fix, and did anyone notice? Microsoft says no exploitation, which is a statement about what Microsoft observed. It’s the best signal available and I’d weight it, but platform-level abuse may not leave traces in the logs a tenant can see.

For Azure Stack Hub operators I checked the App Service on Azure Stack Hub 26R1 release notes (build 102.20.2.2, announced September 28, 2026). They list runtime, Kudu and OS updates and two fixed issues, and they don’t mention CVE-2026-58630 or any CVE. I found no Stack Hub update tied to this bug. Combined with customerActionRequired set to false, I would not treat this as a Stack Hub patch item. If you run Stack Hub and want certainty, open a support case and ask directly; the title alone justifies the question.

My risk rating for a typical tenant: low residual risk, high uncertainty. Worth an hour of checking what your logs can still show.

The log retention problem

Here is the uncomfortable math. Azure keeps activity log events for 90 days and then deletes them. Counting back 90 days from November 25, 2026 lands on August 27, 2026, five weeks after the advisory. Entra sign-in and audit logs are kept for 7 days on Free and 30 days on P1/P2. App Service resource logs, like AppServiceAuditLogs, are not collected at all unless you set up a diagnostic setting.

So if you never exported anything, the portal can’t show you July. If you send logs to a Log Analytics workspace, Sentinel or a third-party SIEM with longer retention, you can still look. That’s the split that decides what you do next.

Bar chart comparing default Azure log retention as of November 25, 2026: activity log 90 days back to August 27, Entra sign-ins 30 days on P1/P2 and 7 days on Free, App Service resource logs not collected by default, all ending after the July 23 advisory date.
With default retention, none of the native Azure logs still cover the period before July 23, 2026.

What to do now

  1. Don’t open a patch ticket. There’s nothing to deploy. If a scanner or vendor feed flags this CVE against an asset, close it with a reference to the MSRC FAQ.
  2. Check retention first. Find out whether AzureActivity, AppServiceAuditLogs and the Entra sign-in tables reach back before the July 23, 2026 advisory in your workspace. If they don’t, write that down and move to hardening.
  3. If they do, run the hunt in the detection section below for the period before the July 23, 2026 advisory, starting as far back as your data allows. The queries end at July 24 so that time zone offsets don’t cut off the last hours of July 23. Nobody knows when the bug was introduced.
  4. Turn off basic auth publishing credentials. Set basicPublishingCredentialsPolicies/ftp and /scm to allow=false per Microsoft’s guide, and assign the built-in Azure Policy audit and remediation definitions. Long-lived username/password deploy creds are exactly what you’d want to steal after any access control bug.
  5. Rotate what an App Service app holds if you can’t rule things out: publishing profiles, connection strings and secrets in app settings, Functions host keys. Move secrets to Key Vault references and managed identity where you haven’t already.
  6. Fix the retention gap for next time. Export the activity log and Entra logs to a workspace or storage with at least a year of retention, and enable AppServiceAuditLogs on production apps. The next cloud CVE with no customer action will ask the same question.

Detection and monitoring

There are no IOCs for this CVE. Microsoft published none, and I won’t make any up. So nothing below detects the bug itself. What you can catch is what anyone does with elevated access to an App Service app: pull its deployment credentials and secrets, log in with them, and change the app’s config so access survives. That lives in two places: the Azure Activity log (control plane, collected by default but kept for 90 days) and AppServiceAuditLogs (FTP, Web Deploy and Kudu logins, a resource log that Microsoft says isn’t collected until you add a diagnostic setting).

I wrote six Sigma rules for that, all hunting and hardening rules rather than exploit signatures:

RuleCategoryLog sourceATT&CKLevel
Publishing profile retrievedCloud-AzureActivity logT1552Medium
Publishing login with basic credentialsCloud-AzureAppServiceAuditLogsT1078.004Low (hunting)
Profile retrieved, then basic login on the same app within an hour (correlation)Cloud-AzureActivity log + AppServiceAuditLogsT1552, T1078.004High
Basic auth publishing policy changed (not to disabled)Cloud-AzureActivity logT1556Medium
Source control or site extension changedCloud-AzureActivity logT1505Medium
Sensitive settings or Functions keys listedCloud-AzureActivity logT1552Low (hunting)

The one I’d turn on first is the publishing profile rule. A call to publishxml/action returns the app’s publishing profile, which Microsoft says often contains basic-auth credentials for FTP, Web Deploy and Kudu. Microsoft documented Storm-2949 using it in May 2026 to compromise App Service apps. Stratus Red Team’s sample event confirms the operation shows up in the Activity log, and Stratus notes it is logged even when basic auth is disabled. Alert on any caller, then baseline who legitimately downloads profiles per app.

title: Azure App Service Publishing Profile Retrieved
id: 1619694c-4499-4da8-b517-04386221afcb
name: azure_app_service_publishxml
status: test
description: |
    Detects retrieval of an App Service or slot publishing profile through the Azure management plane. Microsoft says the
    profile often contains basic-auth credentials for FTP, Web Deploy and Kudu; Storm-2949 used this action to compromise
    App Service apps. Hunting and hardening rule, not an exploit signature for CVE-2026-58630 (no IOCs are public).
references:
    - https://github.com/DataDog/stratus-red-team/blob/main/docs/attack-techniques/azure/azure.credential-access.app-service-publishing-credentials.md
    - https://www.microsoft.com/en-us/security/blog/2026/05/18/storm-2949-turned-compromised-identity-into-cloud-wide-breach/
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.credential-access
    - attack.t1552
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/PUBLISHXML/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/PUBLISHXML/ACTION'
    condition: selection
falsepositives:
    - Developers clicking "Download publish profile" in the portal, or Visual Studio and older pipeline tasks that import a profile
    - Infrastructure-as-code or backup tooling that exports profiles; baseline callers per app and alert on a new caller or IP
level: medium

For the retro-hunt, run the same conditions over everything your workspace holds before July 24, 2026, and sort by caller and IP so the rare ones float up. Keep expectations honest: a clean result means nothing suspicious reached your tenant-visible logs. It doesn’t prove the platform bug was never used against you, because the Activity log typically does not capture read operations and isn’t an authentication audit log. Going forward, keep the rules on as standing detections; “basic auth re-enabled” and “profile pulled, then used within the hour” are worth an alert in any tenant, CVE or not. There are no IOCs to age out here, only retention to extend.

I wrote up all six rules, with the KQL retro-hunt, tuning notes, lab tests and ATT&CK gaps, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

I’m glad this CVE exists. Since June 2024 Microsoft has committed to “issue CVEs for critical cloud service vulnerabilities, regardless of whether customers need to install a patch.” My guess is that before that policy, a fix like this would most likely have gone out without a CVE, since no customer had anything to install.

But a CVE with one sentence of description, a contradictory product name and two different CVSS vectors is transparency in format more than in substance. It tells you a 10.0 existed in a service you depend on and gives you nothing to judge your own exposure: no component, no rollout date, no exposure window. Customers need the window more than anything else. “Fixed before publication” without a “vulnerable since” leaves defenders guessing how far back to hunt.

The real lesson is about us, not Microsoft. Cloud CVEs with no customer action are going to keep arriving, and the only thing they ever ask of you is a look backward. Ninety days of activity log and thirty days of sign-ins can’t answer that. If your retention is still on defaults, fixing that is the one action this CVE actually gives you, and I’d do it this week. I’d also ask Microsoft, through your account team, for the exposure window. They’re the only ones who know it.

Sources