Skip to main content
Menu
Advisories

Demo-mode stored health checks could reach attacker-selected network targets

GHSA-94H5-JW58-QQQ8Published Updated GitHub

Description

Nginx UI's Demo-mode guard blocked the direct health-check test endpoint, but the stored health-check mutation routes remained available to authenticated Demo users. A Demo user could save an attacker-selected target and cause the server to perform health checks from the Nginx UI host. The later sync route exposed the same capability for synchronized health-check configuration.

The original stored health-check route was introduced in v2.2.0. The synchronized mutation path was added later, beginning with v2.5.3.

Impact

A user who can sign in to a Demo instance could cause backend requests to loopback, link-local, private-network, or container-network destinations using configured request attributes. Health-check results expose derived status information and content-match decisions, creating a limited response oracle. The target response body is not returned to the user, and this advisory does not claim full response-body disclosure.

This behavior is specific to Demo mode. Configurable private-network health checks remain an intentional capability for administrators of normal deployments.

Remediation

Demo-mode rejection is now applied to both stored health-check mutation routes: the per-site update route and the synchronized update route. Regression coverage verifies that these routes reject Demo users before any handler-side network activity occurs.

Fixed by 64bc599e11a3f527c989ab2c1c3cc378d34ab5b4.

Affected versions

References

GitHub · 0xJacky/nginx-ui