/

CVE-2026-55372

Severity:

HIGH RISK

(7.2)

Server-Side Request Forgery (CWE-918) in NukeViet CMS

CVE-2026-55372

Received

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Internal host and port discovery, with potential cache poisoning

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

NukeViet CMS can make a server-side cURL request based on attacker-controlled forwarded host and protocol values before authentication. An unauthenticated attacker may use this behavior to probe internal hosts and ports or poison cached server headers.

Affected context

The issue affects NukeViet CMS versions before 4.5.09 when the server information update path is reachable without authentication. In this path, standardizeHost() does not validate the forwarded host against my_domains, and a trailing slash can leave an attacker-selected port in the value used to construct a cURL request. The request is blind, uses the HEAD method, and targets a fixed path.

Exploit preconditions

  • Attack surface: The server information update functionality in NukeViet CMS
  • Required access: No authentication is required; the attacker must be able to send requests to the exposed application
  • Trigger point: An unauthenticated request containing __serverInfoUpdate=1
  • Attacker-controlled inputs: The X-Forwarded-Host and X-Forwarded-Proto headers
  • Why exploitation is possible: Forwarded host values are not checked against my_domains, and host normalization can preserve an attacker-selected port used in a server-side cURL request

Why this happens

The application uses forwarded host and protocol data to construct a server-side request without adequately validating the destination. Because standardizeHost() does not enforce the configured my_domains allowlist in this path, attacker-controlled input can influence the request destination. This is a server-side request forgery weakness, mapped to CWE-918.

Potential impact

  • An attacker may infer whether internal hosts or ports are reachable from the application server
  • The behavior could expose information about internal network services through observable request outcomes
  • Cached server_headers may be poisoned
  • The request behavior could increase the risk of further attacks against reachable internal services

General mitigation guidance

Defensive patterns focus on preventing user-controlled request metadata from determining server-side destinations.

  • Derive request destinations from trusted configuration rather than forwarded headers
  • Validate hostnames against an explicit allowlist at the point where requests are constructed
  • Parse and normalize host and port values consistently, rejecting ambiguous or malformed forms
  • Treat proxy-provided headers as untrusted unless they come from explicitly trusted proxies
  • Restrict outbound network access and run application processes with least privilege
  • Avoid caching response metadata that can be influenced by untrusted request data

How teams detect issues like this

  • Use static analysis to identify outbound HTTP clients whose destinations depend on request headers or other untrusted input
  • Review host normalization and allowlist checks, including handling of ports and trailing slashes
  • Monitor for unauthenticated requests that set __serverInfoUpdate=1 alongside unusual forwarded host or protocol values
  • Apply egress policies that limit application access to internal networks and unexpected destinations
  • Add tests and policy checks to ensure server-side requests use approved destinations only

Sources

SourceLink
github.comgithub.com/nukeviet/nukeviet/commit/a16d6dc9891fb38d5ad16b64e0303910adf94c01
github.comgithub.com/nukeviet/nukeviet/commit/f0e06cd543feff7d21f683a9be9b0b06e7192bf3
github.comgithub.com/nukeviet/nukeviet/releases/tag/4.5.09
github.comgithub.com/nukeviet/nukeviet/security/advisories/GHSA-4chg-4752-w88r

Frequently asked

questions

Yes. The described update path can be triggered by an unauthenticated request to an exposed NukeViet application.

No login is required, but the attacker needs network access to the application and the ability to send the relevant request headers and field.

Do not derive outbound request destinations from untrusted forwarded headers. Use trusted configuration and enforce strict destination allowlists before making requests.

Treat request metadata as untrusted, restrict outbound network access, test destination validation and normalization, and monitor for unexpected server-side requests.

Find out what's already
exploitable in your codebase.