☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-58317

CVE-2024-58317 Authentication Bypass in Kentico
📅 PUBLISHED: 2025-12-18 19:53 UTC 🔄 UPDATED: 2026-09-23 20:24 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.19%
👁️
0.19% probability
4.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: Czech Republic License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-58317 is a cookie security configuration vulnerability in Kentico Xperience, a .NET-based content management system. The flaw allows attackers to bypass SSL/TLS requirements when setting administration cookies via the web.config file. Specifically, the requireSSL attribute is not properly enforced, meaning that even when configured to require SSL, the application may still set cookies over unencrypted HTTP connections. This can lead to session hijacking, authentication bypass, and exposure of sensitive administrative session tokens. The vulnerability affects .NET Framework projects and has no known patch or public exploit code at this time. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the risk remains significant for unpatched deployments.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby ecosystems. It is a .NET Framework configuration issue within the Kentico Xperience CMS. No supply chain package is directly affected.

CVSS Breakdown & Threat Level

CVSS Score: 0.0 (Unscored)
Vector: UNKNOWN
Attack Vector: Network
Attack Complexity: Low
Privileges Required: None
User Interaction: None
Scope: Unchanged
Confidentiality Impact: High
Integrity Impact: High
Availability Impact: None

Given the lack of a CVSS vector, the threat level is assessed as High due to the potential for session hijacking and authentication bypass in administrative interfaces.

Deep Dive & Mechanics

The vulnerability resides in how Kentico Xperience handles the requireSSL attribute in web.config. In .NET applications, the <httpCookies> element can set requireSSL="true" to ensure cookies are only transmitted over HTTPS. However, due to a flaw in Kentico’s cookie handling logic, this attribute is not consistently enforced when setting administration cookies. Attackers can exploit this by:

  1. Intercepting HTTP traffic to the Kentico admin interface.
  2. Observing that cookies are set over unencrypted connections despite the configuration.
  3. Stealing the session cookie and using it to impersonate an authenticated administrator.

The root cause is likely a misconfiguration or a bug in the cookie-setting code that ignores the requireSSL flag for certain cookie types.

Vulnerable vs. Patched Code

Vulnerable Code (web.config snippet):

<httpCookies httpOnlyCookies="true" requireSSL="true" />

Despite this setting, the application may still set cookies over HTTP.

Patched Code (expected fix):

<httpCookies httpOnlyCookies="true" requireSSL="true" />

Additionally, the application code should explicitly check the request’s IsSecureConnection property before setting cookies.

No official patch is available. Administrators should manually enforce SSL at the web server level (e.g., IIS URL Rewrite) and ensure all cookies are marked as Secure.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Access to a network where Kentico Xperience is deployed.
  • Ability to intercept HTTP traffic (e.g., using a proxy like Burp Suite).

Steps:

  1. Identify the Kentico admin login page (e.g., /admin).
  2. Use a proxy to intercept traffic and observe cookie-setting responses.
  3. If cookies are set over HTTP, capture the ASP.NET_SessionId or other authentication cookies.
  4. Replay the cookie in a browser to gain unauthorized admin access.

Example interception (Burp Suite):

GET /admin HTTP/1.1
Host: vulnerable-kentico.com

HTTP/1.1 200 OK
Set-Cookie: ASP.NET_SessionId=abc123; path=/; HttpOnly

Note the absence of the Secure flag.

Blue Team

Detection:

  • Monitor for cookies without the Secure flag in HTTP responses.
  • Alert on any admin session activity over HTTP.

Hunting:

  • Search IIS logs for requests to /admin over HTTP.
  • Use the following PowerShell to check cookie security:
Get-WebConfigurationProperty -Filter system.web/httpCookies -Name requireSSL

Mitigation:

  • Enforce HTTPS via IIS URL Rewrite:
<rule name="Redirect to HTTPS" stopProcessing="true">
  <match url="(.*)" />
  <conditions>
    <add input="{HTTPS}" pattern="^OFF$" />
  </conditions>
  <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
  • Set requireSSL="true" and Secure flag manually in code.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /admin or other admin paths.
  • Cookie: Set-Cookie headers without the Secure flag for admin sessions.
  • Logs: IIS logs showing 200 responses for admin pages over HTTP.
  • File: web.config with requireSSL="true" but cookies still sent over HTTP.

Detection Engineering

YARA Rule

rule Kentico_Cookie_Security_Bypass {
    meta:
        description = "Detects Kentico Xperience cookie security bypass"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-58317"
    strings:
        $cookie = "Set-Cookie:" nocase
        $secure = "Secure" nocase
    condition:
        $cookie and not $secure
}

Sigma Rule

title: Kentico Cookie Security Bypass
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP responses setting cookies without Secure flag for Kentico admin
author: Valters IT
logsource:
    category: webserver
    product: iis
detection:
    selection:
        cs-uri-stem|startswith: '/admin'
        sc-status: 200
        cs-cookie|contains: 'ASP.NET_SessionId'
    condition: selection
falsepositives:
    - Legitimate HTTP admin access (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-58317 Kentico Cookie Security Bypass"; flow:to_server; content:"/admin"; http_uri; content:"Set-Cookie"; http_header; nocase; pcre:"/Set-Cookie:[^;]+(?![^;]*Secure)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Enforce HTTPS at the web server level (IIS URL Rewrite) and ensure all cookies are marked Secure.
  2. Configuration: Verify web.config has requireSSL="true" and test with a tool like curl:
    curl -v http://vulnerable-kentico.com/admin
    
  3. Code Fix: Modify the application code to explicitly check Request.IsSecureConnection before setting cookies.
  4. Monitoring: Implement the Sigma and Suricata rules above to detect exploitation attempts.
  5. Vendor Contact: Reach out to Kentico for an official patch. If none is available, consider a WAF rule to block HTTP admin access.

Valters IT
DevSecOps & Cyber Threat Intelligence Expert

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-58317/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.