Skip to main content
Vulnerability Database/CVE-2025-15104

CVE-2025-15104: Nu Html Checker SSRF Vulnerability

CVE-2025-15104 is a server-side request forgery flaw in Nu Html Checker that enables attackers to access internal resources via DNS rebinding. This article covers technical details, affected versions, impact, and mitigation.

Updated:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-15104 Overview

CVE-2025-15104 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] affecting the Nu Html Checker (validator.nu, also known as vnu). The flaw lets remote attackers coerce the validator server into issuing arbitrary HTTP and HTTPS requests against internal resources, including services bound to localhost. The application enforces hostname-based blocks against localhost and 127.0.0.1, but those checks can be defeated using DNS rebinding or domains that resolve to loopback addresses. The issue affects the vnu codebase at commit 23f090a11bab8d0d4e698f1ffc197a4fe226a9cd.

Critical Impact

Attackers can pivot through publicly exposed Nu Html Checker instances to reach internal HTTP services, cloud metadata endpoints, and loopback-only management interfaces.

Affected Products

  • The Nu Html Checker (vnu) — validator/validator on GitHub
  • Latest source at commit 23f090a11bab8d0d4e698f1ffc197a4fe226a9cd
  • Self-hosted deployments of validator.nu

Discovery Timeline

  • 2026-01-16 - CVE-2025-15104 published to NVD
  • 2026-01-23 - Last updated in NVD database

Technical Details for CVE-2025-15104

Vulnerability Analysis

The Nu Html Checker accepts a user-supplied URL and fetches the referenced document to validate its HTML, CSS, or SVG content. To prevent abuse against internal infrastructure, the validator denies requests whose hostname matches loopback identifiers such as localhost or 127.0.0.1. The denylist operates on the textual hostname rather than the resolved IP address.

This design allows an attacker to register or use a domain whose DNS A record resolves directly to 127.0.0.1 or another loopback range. Because the hostname string itself is not blocked, the validator proceeds to fetch the URL, and the operating system resolver returns a loopback target. The fetcher then opens a connection to internal services on the validator host.

The same gap enables DNS rebinding. An attacker-controlled authoritative server can return a public IP on the first lookup to pass any external checks, then return a loopback or RFC1918 address on the subsequent fetch performed by the HTTP client.

Root Cause

The protection logic relies on string comparison of the hostname rather than resolving the host and validating the destination IP against a denylist of loopback, link-local, and private ranges. No re-validation occurs between DNS resolution and socket connection, which leaves a time-of-check to time-of-use gap exploitable by rebinding.

Attack Vector

Exploitation is performed over the network with no authentication and no user interaction. An attacker submits a crafted URL to the validator endpoint pointing at an attacker-controlled domain. The validator resolves the domain, follows the response to an internal address, and returns response data or behavior observable to the attacker. The impact is limited to confidentiality of subsequent system resources rather than the validator itself.

No public exploit code or proof-of-concept is listed in the advisory references at the time of publication. Technical detail is available in the Fluid Attacks Security Advisory and the GitHub Validator Repository.

Detection Methods for CVE-2025-15104

Indicators of Compromise

  • Outbound DNS queries from the validator host to attacker-controlled domains followed by inbound connections from the validator process to 127.0.0.0/8, 169.254.169.254, or RFC1918 ranges.
  • HTTP access logs on internal services showing requests sourced from the validator host with User-Agent strings matching the vnu HTTP client.
  • Validator request logs containing target URLs whose hostnames resolve to loopback or private addresses.

Detection Strategies

  • Inspect validator application logs for fetched URLs and cross-reference against resolved IP addresses at request time.
  • Deploy egress proxy logging in front of the validator and alert on requests destined for non-public IP ranges.
  • Correlate DNS responses returning short TTLs and multiple distinct A records for the same hostname, a behavioral signature of DNS rebinding.

Monitoring Recommendations

  • Monitor for unexpected requests to cloud instance metadata services such as 169.254.169.254 originating from the validator host.
  • Track validator process network connections to internal subnets that should not be reachable from a content validation service.
  • Alert on repeated submissions to the validator API containing hostnames that resolve to private address space.

How to Mitigate CVE-2025-15104

Immediate Actions Required

  • Place the validator behind an egress filter that blocks outbound traffic to loopback, link-local, and RFC1918 ranges.
  • Restrict the validator service to a dedicated network segment with no route to internal management interfaces or cloud metadata endpoints.
  • Disable or firewall any publicly exposed validator instance that is not strictly required to be internet-facing.

Patch Information

No fixed release version is listed in the advisory. Track the GitHub Validator Repository for commits following 23f090a11bab8d0d4e698f1ffc197a4fe226a9cd that address SSRF protections, and review the Fluid Attacks Security Advisory for vendor coordination status.

Workarounds

  • Resolve submitted hostnames in the application and reject any URL whose IP resolves to loopback, link-local, multicast, or private ranges before fetching.
  • Re-resolve the hostname immediately before connecting and bind the socket to the validated IP to neutralize DNS rebinding.
  • Run the validator inside a container or namespace with no network path to internal services, with only egress to public networks permitted via an HTTP proxy that enforces destination allowlists.
bash
# Example iptables egress restriction for the validator host
iptables -A OUTPUT -m owner --uid-owner vnu -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner vnu -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner vnu -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner vnu -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner vnu -d 169.254.0.0/16 -j REJECT

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.