← Vulnerability feed

Vulnerability record · CVE-2004-0847 · published 3 November 2004

CVE-2004-0847: ASP.NET forms authentication bypass via backslash path traversal

Microsoft · Asp.Net

ASP.NET forms authentication can be bypassed for .aspx files in restricted directories by sending a request containing a backslash or its encoded form (%5C). The path validation flaw lets an unauthenticated remote attacker reach pages that should require a valid forms-auth cookie.

9.8 CVSS 3.0 Critical EPSS 76% · top 0.5% CWE-22 · Path traversal
9.8CVSS 3.0 base score, v2 7.5
76%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The Microsoft .NET forms authentication capability for ASP.NET allows remote attackers to bypass authentication for .aspx files in restricted directories via a request containing a (1) "\" (backslash) or (2) "%5C" (encoded backslash), aka "Path Validation Vulnerability."

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 3.0 base score is 9.8 with no authentication or interaction required, and EPSS is very high with public exploit references.

What it is

ASP.NET forms authentication can be bypassed for .aspx files in restricted directories by sending a request containing a backslash or its encoded form (%5C). The path validation flaw lets an unauthenticated remote attacker reach pages that should require a valid forms-auth cookie.

Impact

An attacker gains access to protected .aspx pages and their functionality without valid credentials, potentially reading or acting on restricted application content.

Attack surface

Reachable over the network via HTTP requests to the affected ASP.NET application; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.757, ~99.5th percentile) and a reference is tagged Exploit, indicating public exploit material exists.

What to do

  • Apply the Microsoft security update for MS05-004 (the vendor fix for this path validation issue).
  • If patching is delayed, block requests containing backslashes or %5C in URL paths at the web server, proxy or WAF.
  • Review IIS/ASP.NET URL normalization and request filtering settings to reject malformed path separators.
  • Audit restricted directories to confirm no sensitive .aspx pages are exposed if the bypass is exercised.

Detection

  • Search web server and proxy logs for requests to .aspx paths containing a backslash or %5C.
  • Alert on access to restricted-directory .aspx resources from sessions lacking a valid forms-auth cookie.
  • Correlate repeated 200 responses to protected paths with anomalous or unauthenticated client sessions.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://archives.neohapsis.com/archives/ntbugtraq/2004-q3/0221.html ExploitVendor Advisory
http://sourceforge.net/mailarchive/forum.php?thread_id=5671607&forum_id=24754 Broken Link
http://www.kb.cert.org/vuls/id/283646 Third Party AdvisoryUS Government Resource
http://www.securityfocus.com/bid/11342 Third Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA05-039A.html Third Party AdvisoryUS Government Resource
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-004
https://exchange.xforce.ibmcloud.com/vulnerabilities/17644 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A3556 Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4987 Third Party Advisory
http://archives.neohapsis.com/archives/ntbugtraq/2004-q3/0221.html ExploitVendor Advisory
http://sourceforge.net/mailarchive/forum.php?thread_id=5671607&forum_id=24754 Broken Link
http://www.kb.cert.org/vuls/id/283646 Third Party AdvisoryUS Government Resource
http://www.securityfocus.com/bid/11342 Third Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA05-039A.html Third Party AdvisoryUS Government Resource
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-004
https://exchange.xforce.ibmcloud.com/vulnerabilities/17644 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A3556 Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4987 Third Party Advisory

Track CVE-2004-0847 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2006-1364Microsoft ASP.NET w3wp COM component handling denial of serviceMicrosoft w3wp.exe mishandles requests for ASP.NET documents that reference COM components without the AspCompat directive, leading to uncontrolled r…EPSS 59%analysed6.8CVE-2003-0768Microsoft asp.net vulnerabilityMicrosoft ASP.Net 1.1 allows remote attackers to bypass the Cross-Site Scripting (XSS) and Script Injection protection feature via a null character i…EPSS 13%6.4CVE-2005-1664Microsoft asp.net vulnerabilityThe __VIEWSTATE functionality in Microsoft ASP.NET 1.x allows remote attackers to conduct replay attacks to (1) apply a ViewState generated from one …EPSS 19%5.0CVE-2005-2224Microsoft asp.net vulnerabilityaspnet_wp.exe in Microsoft ASP.NET web services allows remote attackers to cause a denial of service (CPU consumption from infinite loop) via a craft…EPSS 18%5.0CVE-2005-1665Microsoft asp.net vulnerabilityThe __VIEWSTATE functionality in Microsoft ASP.NET 1.x, when not cryptographically signed, allows remote attackers to cause a denial of service (CPU …EPSS 40%4.3CVE-2010-2084Microsoft asp.net cross-site scripting vulnerabilityMicrosoft ASP.NET 2.0 does not prevent setting the InnerHtml property on a control that inherits from HtmlContainerControl, which allows remote attac…EPSS 13%4.3CVE-2010-2088Microsoft asp.net cross-site scripting vulnerabilityASP.NET in Microsoft .NET 3.5 does not properly handle an unencrypted view state, which allows remote attackers to conduct cross-site scripting (XSS)…EPSS 9.0%4.3CVE-2005-0452Microsoft asp.net vulnerabilityMultiple cross-site scripting (XSS) vulnerabilities in Microsoft ASP.NET (.Net) 1.0 and 1.1 to SP1 allow remote attackers to inject arbitrary HTML or…EPSS 23%

Source: NIST National Vulnerability Database (record CVE-2004-0847), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.