Skip to main content
Menu
Advisories

External notification test requests lacked interactive secure-session enforcement

GHSA-49R7-63H8-8P86Published Updated GitHub

Description

The external notification test endpoint accepted an authenticated request and sent a fixed-format notification POST to the caller-supplied notification endpoint. Configuring self-hosted and private notification services is an intentional administrator feature, but this test operation and notifier configuration mutations were not restricted to an interactive administrator or a verified secure session. As a result, a stolen bearer token for a factor-enabled administrator, or a broadly scoped API write service token, could trigger the outbound test request without the expected step-up boundary.

Impact

The confirmed capability is a blind, fixed-format outbound POST plus a status/error timing oracle. The target response body is not returned, Nginx UI credentials are not forwarded, and the caller cannot select an arbitrary HTTP method or arbitrary request body. We could not reproduce the originally claimed cloud IAM credential disclosure or high confidentiality impact. All local Nginx UI users are management administrators, which further narrows the trust-boundary impact. The advisory is therefore assessed as Medium rather than High.

Affected versions

The test endpoint was introduced in 2.1.15 and remained affected through 2.5.6.

Remediation

The fix is available on the public dev branch in commit 90ac073f5c. It:

  • requires an interactive administrator for notification test and configuration mutation operations;
  • requires a valid secure session for administrators using OTP or passkeys;
  • rejects verified node principals and API service tokens for these interactive operations;
  • propagates request cancellation and applies a ten-second test-request deadline; and
  • preserves legitimate private and self-hosted notification endpoints.

The next stable release will include this fix.

Validation

Regression coverage verifies missing secure sessions, valid secure sessions, service-token denial, node-principal denial, notifier CRUD protection, cancellation propagation, and the public Demo guardrail. The repository-wide Go race/coverage suite and the targeted browser E2E guardrail completed successfully for this change.

Thanks to @Liuyun657 for reporting the missing authorization boundary.

Affected versions

References

GitHub · 0xJacky/nginx-ui