Cloudanix VulnDB

CVE-2025-23419

None

CVSS

—

EPSS

2.8%

Published

Feb 5, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A configuration issue in nginx can let attackers reuse a previous secure connection to skip required certificate checks and reach protected services.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Privilege Gain
Component
Network Service
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Session resumption via TLS tickets or SSL cache in a default server block allows an attacker to skip client certificate checks on other virtual servers sharing the same IP:port combination.

Why it matters to the business

Organizations running nginx with multiple HTTPS virtual hosts on the same address may allow unauthorized clients to access protected services that require certificate authentication, increasing exposure of sensitive applications and data.

How an attack unfolds

An attacker first establishes a session with the default server that enforces client certificates, obtains a valid session ticket or cache entry, then reuses that session state against another server block on the same IP:port to bypass its certificate requirement.

How to fix it

Upgrade nginx to the commit ecb809305e54ed15be9f620d56b19ff4e4be7db5 or later; disable session tickets and SSL session cache on the default server if an immediate upgrade is not possible.

How to confirm the fix worked

Review nginx configuration for ssl_session_ticket_key and ssl_session_cache directives on the default server, then test client certificate enforcement after applying the fixed commit by attempting resumption from a prior authenticated session.

Typical attack path

  1. Identify nginx instances with multiple server blocks on shared IP:port and client certificate authentication enabled on the default server.
  2. Connect to the default server and complete a TLS handshake that satisfies its certificate check to obtain a session ticket or cached session.
  3. Reuse the session ticket or cached session when connecting to a non-default server block on the same address.
  4. Access resources on the target server without presenting a valid client certificate.

How to detect it

Search web server access logs for TLS session resumption indicators (such as reused session IDs or tickets) followed by successful requests to protected locations without corresponding certificate validation events.

What your security team should do

  • Apply the fixed commit ecb809305e54ed15be9f620d56b19ff4e4be7db5 immediately on all affected nginx instances.
  • Audit nginx configurations to ensure client certificate authentication is not reliant on the default server when session resumption is enabled.
  • Monitor for any EPSS increase and prepare to accelerate patching if exploitation activity emerges.

The record

When multiple server blocks are configured to share the same IP address and port, an attacker can use session resumption to bypass client certificate authentication requirements on these servers. This vulnerability arises when TLS Session Tickets https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_ticket_key are used and/or the SSL session cache https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_cache are used in the default server and the default server is performing client certificate authentication.   Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.20 nginx 0 1.26.3-r0
Alpine:v3.21 nginx 0 1.26.3-r0
Alpine:v3.22 nginx 0 1.26.3-r0
Bitnami nginx 1.11.4 1.26.3
Bitnami nginx 1.27.0 1.27.4
Bitnami nginx-gateway 1.11.4 1.26.3
Chainguard ingress-nginx-controller-1.13 0 1.13.8-r0
Chainguard ingress-nginx-controller-1.14 0 1.14.0-r0
Chainguard ingress-nginx-controller-1.15 0 1.15.0-r0
Chainguard ingress-nginx-controller-fips-1.13 0 1.13.0-r0
Chainguard ingress-nginx-controller-fips-1.14 0 1.14.0-r0
Debian:11 nginx 0 No fix
Debian:11 nginx 0 1.18.0-6.1+deb11u4
Debian:12 nginx 0 No fix
Debian:13 nginx 0 1.26.3-2
Mageia:9 nginx 0 1.26.3-1.mga9
Wolfi ingress-nginx-controller-1.13 0 1.13.8-r0
Wolfi ingress-nginx-controller-1.14 0 1.14.0-r0
Wolfi ingress-nginx-controller-1.15 0 1.15.0-r0
openSUSE:Tumbleweed nginx 0 1.27.4-1.1

Related vulnerabilities