The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-1045

CVE-2020-1045: ASP.NET Core Auth Bypass Vulnerability

CVE-2020-1045 is an authentication bypass vulnerability in Microsoft ASP.NET Core that exploits cookie parser flaws to allow attackers to inject malicious cookies. This article covers technical details, affected versions, and fixes.

Published: March 4, 2026

CVE-2020-1045 Overview

A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names. The ASP.NET Core cookie parser decodes entire cookie strings which could allow a malicious attacker to set a second cookie with the name being percent encoded. This flaw enables attackers to potentially bypass security controls that rely on cookie integrity, such as authentication mechanisms or session management.

Critical Impact

Attackers can exploit improper cookie parsing to inject malicious cookies, potentially bypassing authentication and authorization controls in ASP.NET Core applications.

Affected Products

  • Microsoft ASP.NET Core (versions prior to 3.1.8)
  • Fedora 32 and 33
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux AUS 8.2, 8.4, 8.6
  • Red Hat Enterprise Linux EUS 8.2, 8.4, 8.6
  • Red Hat Enterprise Linux TUS 8.2, 8.4, 8.6

Discovery Timeline

  • 2020-09-11 - CVE-2020-1045 published to NVD
  • 2026-02-23 - Last updated in NVD database

Technical Details for CVE-2020-1045

Vulnerability Analysis

The vulnerability resides in the ASP.NET Core cookie parsing mechanism. When the framework processes incoming HTTP requests, it decodes the entire cookie string rather than treating cookie names as opaque identifiers. This behavior creates a parsing discrepancy that attackers can exploit to inject additional cookies into the request context.

The core issue stems from how percent-encoded characters are handled during cookie parsing. When an attacker sends a cookie with a percent-encoded name (e.g., %41uthToken instead of AuthToken), the parser decodes this name, potentially creating a collision with legitimate cookies or introducing entirely new cookie values that the application trusts implicitly.

This vulnerability is particularly concerning for applications that rely on cookie-based authentication, session management, or security tokens. An attacker could potentially set a forged authentication cookie, bypass security controls, or manipulate application state by injecting crafted cookies that appear legitimate after decoding.

Root Cause

The root cause is the improper handling of encoded cookie names in the ASP.NET Core cookie parser. The parser decodes the entire cookie string including names, which violates the principle that cookie names should be treated as literal strings. This allows attackers to use percent-encoding to smuggle cookie names that, once decoded, match existing legitimate cookie names or create new malicious entries.

Attack Vector

This vulnerability can be exploited remotely over the network without any authentication or user interaction. An attacker can craft malicious HTTP requests containing specially encoded cookie values that exploit the parsing flaw.

The attack flow involves:

  1. The attacker identifies an ASP.NET Core application using cookie-based security mechanisms
  2. The attacker crafts HTTP requests with percent-encoded cookie names designed to bypass security controls
  3. When the ASP.NET Core application parses the request, it decodes the cookie names, potentially allowing the attacker's malicious cookies to override or supplement legitimate cookies
  4. The application processes the injected cookies as if they were legitimate, potentially granting unauthorized access or privileges

For example, if an application checks for an AuthCookie, an attacker could send a request with %41uthCookie (where %41 is the percent-encoded value for 'A'), and after decoding, the malicious cookie would match the expected name.

Detection Methods for CVE-2020-1045

Indicators of Compromise

  • HTTP requests containing unusual percent-encoded characters in cookie names
  • Multiple cookies with similar names that differ only by encoding in server logs
  • Authentication anomalies where users appear to be authenticated without proper credentials
  • Unusual session behavior indicating cookie manipulation

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests with excessively percent-encoded cookie names
  • Monitor application logs for cookie parsing errors or warnings that may indicate exploitation attempts
  • Deploy endpoint detection solutions to identify unusual HTTP traffic patterns associated with cookie manipulation attacks
  • Review authentication logs for signs of unauthorized access that may result from cookie injection

Monitoring Recommendations

  • Enable detailed logging for ASP.NET Core cookie parsing operations in production environments
  • Set up alerts for requests containing multiple cookies with similar decoded names
  • Monitor for sudden spikes in authentication failures followed by successes from the same source
  • Implement anomaly detection on cookie-related HTTP headers

How to Mitigate CVE-2020-1045

Immediate Actions Required

  • Update ASP.NET Core to version 3.1.8 or later immediately
  • Review and audit application cookie handling logic for any custom parsing implementations
  • Apply vendor patches from Microsoft, Red Hat, or Fedora as appropriate for your platform
  • Implement input validation on cookie values at the application level as an additional defense layer

Patch Information

Microsoft has addressed this vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names. The patch ensures that cookie names are treated as literal strings rather than being decoded during parsing.

For detailed patch information, refer to:

  • Microsoft Security Advisory CVE-2020-1045
  • GitHub Release Notes for ASP.NET Core 3.1.8
  • Red Hat Security Advisory RHSA-2020:3699

Workarounds

  • Implement strict cookie name validation at the application level before processing
  • Use web application firewalls to filter requests with suspicious percent-encoded cookie names
  • Consider implementing additional authentication factors that do not rely solely on cookie-based security
  • Deploy network-level monitoring to detect and block exploitation attempts
bash
# Update ASP.NET Core to patched version on Linux
dotnet --list-sdks
# Verify current version, then update
sudo apt-get update && sudo apt-get install dotnet-sdk-3.1

# For Red Hat Enterprise Linux systems
sudo dnf update dotnet

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAsp.net Core

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability20.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Red Hat Security Advisory RHSA-2020:3699

  • GitHub Release Notes for 3.1.8

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Snyk Vulnerability SNYK-RHEL8-DOTNET-1439600
  • Vendor Resources
  • Microsoft Security Advisory CVE-2020-1045
  • Related CVEs
  • CVE-2025-55315: ASP.NET Core Auth Bypass Vulnerability

  • CVE-2020-1597: ASP.NET Core Denial of Service Vulnerability

  • CVE-2025-26682: Microsoft ASP.NET Core DoS Vulnerability

  • CVE-2024-21404: Microsoft ASP.NET Core DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English