A critical flaw in the legacy ASP.NET anti-CSRF package Idunno.AntiCsrf, tracked as CVE-2026-131914 and scored CVSS 9.3, is reported as exploited in the wild. The affected component is Idunno.AntiCsrf.dll, versions 0.9.1.0 and 0.9.1 Beta. Researchers are urging users to discontinue use, which is the correct defensive posture: if an internet-facing ASP.NET application loads this DLL, assume an unauthenticated attacker may have a path to code execution in the IIS worker process context.
Do not treat this as a routine library update. Anti-CSRF middleware sits directly in the HTTP request pipeline. A critical defect in that layer can expose every route that relies on the library for request validation, including login, password reset, checkout, administrative, and API endpoints protected by cookie-backed sessions.
What is affected
- Component: Idunno.AntiCsrf.dll, legacy ASP.NET anti-CSRF library
- Affected versions reported: 0.9.1.0 and 0.9.1 Beta
- Typical host: Windows Server running IIS, ASP.NET on .NET Framework, with the DLL deployed under the application bin folder or referenced by the application
- Exposure model: network-reachable HTTP/HTTPS applications that load the library in the request pipeline
- Impact reported: critical, unauthenticated code execution; CVSS 9.3
The public summary does not provide a complete root-cause writeup, and defenders should not wait for one. The actionable facts are enough: affected DLL, affected versions, critical severity, unauthenticated impact, and active exploitation pressure.
Defender view of the attack chain
Treat any application with Idunno.AntiCsrf.dll in its deployment footprint as potentially reachable by an unauthenticated remote attacker. In IIS terms, successful exploitation would most likely execute under w3wp.exe for the affected application pool, with the rights of that pool identity. That means the blast radius is defined by application pool privilege, virtual directory permissions, outbound network access, and what credentials or secrets the application can read.
Prioritize these applications for immediate triage:
- Internet-facing ASP.NET MVC, Web Forms, Web API, or hybrid legacy apps
- Apps with bin\Idunno.AntiCsrf.dll present, even if the site is not the primary business app
- Apps using cookie authentication, session state, form posts, or anti-forgery tokens
- App pools running as SERVICE, NETWORK SERVICE, custom domain service accounts, or any identity with broad file, database, or AD rights
- Legacy apps that have been excluded from normal patch and dependency review
Because anti-CSRF logic is invoked around state-changing requests, exploitation attempts may blend into normal POST traffic. Network-only signatures will be weak unless you have a confirmed payload pattern. Endpoint and application inventory telemetry are more reliable: find the DLL, confirm version, look for w3wp.exe behaving like a compromised web server, and validate whether the app pool spawned child processes or wrote unexpected files.
Immediate containment
- Inventory every IIS server and ASP.NET deployment for Idunno.AntiCsrf.dll.
- If version is 0.9.1.0 or 0.9.1 Beta, remove the dependency and retire the library. Do not wait for a patched release unless the vendor publishes one and you validate it independently.
- Replace with supported anti-forgery controls: System.Web.Helpers.AntiForgery for legacy ASP.NET MVC where still supported by your framework baseline, Microsoft.AspNetCore.Antiforgery for ASP.NET Core, or an actively maintained OWIN/Katana approach for supported legacy pipelines.
- If removal requires a change window, isolate the app now: block external access at the WAF or reverse proxy, restrict to trusted networks, deny outbound egress from the app pool where feasible, and increase logging.
- Treat exposed systems as potentially compromised: capture memory if justified, preserve logs, review webroot changes, and rotate credentials reachable from the application.
Detection and response
The highest-value detection is not a generic web attack signature. It is evidence that the IIS worker process is doing things a healthy ASP.NET app should not do: spawning shells, launching script interpreters, writing executables into web directories, or making unusual outbound connections.
---
title: IIS Worker Process Spawning Shell or LOLBin After Possible Web Exploit
id: 8c4d2d9e-2d9f-4e07-9f4e-cve2026131914a01
status: experimental
description: Detects w3wp.exe spawning command shells, script engines, or common post-exploitation LOLBins. Relevant to suspected exploitation of a web-facing ASP.NET component such as Idunno.AntiCsrf.
references:
- https://attack.mitre.org/techniques/T1059/
- https://attack.mitre.org/techniques/T1218/
author: Security Arsenal
date: 2026/11/07
tags:
- attack.execution
- attack.t1059
- attack.t1218
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith: '\w3wp.exe'
selection_child:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\rundll32.exe'
- '\regsvr32.exe'
- '\certutil.exe'
- '\bitsadmin.exe'
- '\curl.exe'
- '\wget.exe'
- '\nltest.exe'
- '\net.exe'
- '\whoami.exe'
- '\ipconfig.exe'
condition: selection_parent and selection_child
falsepositives:
- Rare application warmup, deployment automation, or diagnostics launched by the web app
- Health checks that execute local commands under an app pool
level: high
---
title: Suspicious File Write Into IIS Application Content by Worker Process
id: 8c4d2d9e-2d9f-4e07-9f4e-cve2026131914a02
status: experimental
description: Detects w3wp.exe creating executable, script, or DLL content in web application directories, consistent with post-exploitation after compromise of an ASP.NET request pipeline component.
references:
- https://attack.mitre.org/techniques/T1505/003/
- https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/11/07
tags:
- attack.persistence
- attack.t1505.003
- attack.command_and_control
- attack.t1105
logsource:
category: file_event
product: windows
detection:
selection_process:
Image|endswith: '\w3wp.exe'
selection_target:
TargetFilename|contains:
- '\inetpub\'
- '\wwwroot\'
- '\bin\'
- '\App_Data\'
- '\aspnet_client\'
TargetFilename|endswith:
- '.aspx'
- '.ashx'
- '.asmx'
- '.dll'
- '.exe'
- '.ps1'
- '.bat'
- '.cmd'
- '.js'
- '.vbs'
- '.tmp'
condition: selection_process and selection_target
falsepositives:
- Deployments, NuGet restore, build agents, or CMS plug-in installation
- Legitimate compiled temporary ASP.NET files outside web content paths
level: high
let lookback = 14d;
let suspiciousChildren = dynamic(["cmd.exe","powershell.exe","pwsh.exe","wscript.exe","cscript.exe","mshta.exe","rundll32.exe","regsvr32.exe","certutil.exe","bitsadmin.exe","curl.exe","wget.exe","net.exe","whoami.exe","ipconfig.exe"]);
DeviceProcessEvents
| where Timestamp >= ago(lookback)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where FileName in~ (suspiciousChildren) or ProcessCommandLine has_any ("whoami","ipconfig","net user","net group","certutil","bitsadmin","rundll32","regsvr32","mshta","powershell -enc","FromBase64String","DownloadString","IEX")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, FolderPath, SHA256, ReportId
| order by Timestamp desc;
let lookback = 30d;
DeviceFileEvents
| where Timestamp >= ago(lookback)
| where FileName =~ "Idunno.AntiCsrf.dll" or FolderPath has "Idunno.AntiCsrf.dll"
| project Timestamp, DeviceName, ActionType, FileName, FolderPath, SHA256, InitiatingProcessFileName, InitiatingProcessAccountName
| order by Timestamp desc;
let lookback = 14d;
DeviceNetworkEvents
| where Timestamp >= ago(lookback)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where RemotePort in (80,443,8080,8443,53,445,5985,5986) or RemoteIPType == "Public"
| summarize FirstSeen=min(Timestamp), LastSeen=max(Timestamp), ConnectionCount=count(), DistinctRemoteIPs=dcount(RemoteIP), Ports=make_set(RemotePort) by DeviceName, InitiatingProcessAccountName, RemoteIP, RemoteUrl, InitiatingProcessCommandLine
| where DistinctRemoteIPs > 10 or ConnectionCount > 200 or RemoteIPType == "Public"
| order by ConnectionCount desc;
-- Find IIS worker processes with suspicious child processes or active network connections
SELECT Pid, Name, Exe, CommandLine, Username, CreateTime
FROM pslist()
WHERE Name =~ 'w3wp'
OR Exe =~ 'w3wp\.exe'
-- Inventory Idunno.AntiCsrf.dll across common web and program directories
SELECT FullPath, Size, Mtime, Ctime
FROM glob(globs=[
'C:/inetpub/**/Idunno.AntiCsrf.dll',
'C:/Program Files/**/Idunno.AntiCsrf.dll',
'C:/Program Files (x86)/**/Idunno.AntiCsrf.dll'
])
-- Show network connections owned by IIS worker processes for egress review
SELECT Pid, Name, LocalAddr, LocalPort, RemoteAddr, RemotePort, Status
FROM netstat()
WHERE Name =~ 'w3wp'
AND RemoteAddr !~ '^(127\.|::1|10\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)'
# Inventory and triage Idunno.AntiCsrf.dll on Windows IIS hosts. Run elevated.
$ErrorActionPreference = 'SilentlyContinue'
$roots = @('C:\inetpub','C:\Program Files','C:\Program Files (x86)')
$out = Join-Path $env:TEMP 'Idunno-AntiCsrf-Inventory.csv'
$results = foreach ($root in $roots) {
if (Test-Path $root) {
Get-ChildItem -Path $root -Filter 'Idunno.AntiCsrf.dll' -Recurse -Force -File | ForEach-Object {
$v = $_.VersionInfo
[pscustomobject]@{
ComputerName = $env:COMPUTERNAME
FullPath = $_.FullName
Length = $_.Length
LastWriteTime = $_.LastWriteTime
FileVersion = $v.FileVersion
ProductVersion = $v.ProductVersion
CompanyName = $v.CompanyName
SHA256 = (Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash
Affected = ($v.FileVersion -match '^0\.9\.1' -or $v.ProductVersion -match '0\.9\.1')
}
}
}
}
$results | Export-Csv -Path $out -NoTypeInformation -Encoding UTF8
$results | Sort-Object Affected -Descending | Format-Table -AutoSize
Write-Host "Inventory written to $out"
# Optional: list IIS sites and app pools to map DLL findings to applications.
Import-Module WebAdministration -ErrorAction SilentlyContinue
Get-Website | Select-Object Name, PhysicalPath, ApplicationPool, State | Format-Table -AutoSize
Get-ItemProperty 'IIS:\AppPools\*' | Select-Object Name, State, @{n='Identity';e={$_.processModel.identityType}}, @{n='User';e={$_.processModel.userName}}, managedRuntimeVersion | Format-Table -AutoSize
Remediation plan
Remove and replace, do not patch around this library. The affected versions are 0.9.1.0 and 0.9.1 Beta. No fixed version is identified in the available summary, so the defensible action is discontinuation.
Recommended sequence:
- Identify every reference: application bin folders, packages.config, project references, MSBuild artifacts, deployment shares, containers, VM templates, and backup images.
- Remove Idunno.AntiCsrf.dll and replace anti-CSRF protection with a supported framework control appropriate to your stack.
- Rebuild and redeploy from a clean build agent after dependency removal; verify the DLL is absent from the deployed bin directory and from shadow copies or rollback packages.
- Reduce privilege: ensure app pools use least-privilege identities, disable unused application pools, separate apps by pool, and block write access to content directories except explicit deployment paths.
- Constrain egress from web servers to required update, CRL, identity, logging, payment, and API destinations. Alert on new public destinations from w3wp.exe.
- Add WAF or reverse-proxy guardrails for exposed legacy routes while code is remediated: enforce allowed methods, rate-limit POSTs, block suspicious content types on anti-forgery-protected endpoints, and geo or ASN restrict admin surfaces.
- Preserve evidence before broad redeploy on exposed systems: IIS logs, HTTPERR logs, Windows event logs, EDR telemetry, webroot file listings, and app pool configuration.
- Rotate secrets that the application could access if the host was exposed: connection strings, service account passwords, API keys, session signing keys, machine keys where compromise is suspected, and certificates stored on the host.
- Monitor CISA KEV and vendor or project advisories for formal confirmation, CVE enrichment, indicators, and any emergency patch guidance. Reference tracking: https://thehackernews.com/2026/11/hackers-exploit-critical-aspnet-anti.html and https://www.cisa.gov/known-exploited-vulnerabilities-catalog.
Validation checklist
- No file named Idunno.AntiCsrf.dll exists under web content, bin, deployment packages, or rollback directories.
- Build output and release pipelines no longer restore or copy the package.
- Anti-forgery validation is enforced on state-changing routes after migration; verify unauthorized POSTs fail and cross-site token replay fails.
- w3wp.exe has no unexpected child processes and no new public egress destinations.
- Application pool identities cannot write to webroot except controlled deployment locations.
- Logs are retained and forwarded for IIS, Windows Security, Sysmon or EDR process events, PowerShell, and WAF or reverse proxy telemetry.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.