Skip to main content
Menu
Advisories

Read-scoped service tokens could disclose stored infrastructure credentials

GHSA-PW4F-PQ6V-X57RPublished Updated GitHub

Description

Several read APIs returned stored credentials to any caller holding an api:read service token. The affected responses included DNS provider secrets, ACME External Account Binding credentials, and S3-compatible backup credentials. These values are needed by Nginx UI internally, but exposing them to non-interactive automation credentials exceeded the intended read scope.

Impact

An attacker who obtained a valid read-scoped service token could retrieve reusable credentials for configured DNS providers, ACME EAB integrations, or S3-compatible storage. The exact downstream impact depends on the permissions granted to those external credentials. The issue is authenticated and does not grant anonymous access.

Remediation

Credential-bearing fields are now redacted from DNS, ACME EAB, and S3 configuration responses when the caller is a service-token principal, including read-scoped and write-scoped service tokens. Interactive administrator behavior is unchanged so authorized administrators can continue to manage these integrations through the UI.

Fixed by 9594b04de86728cfee8112d52f1eb0f3203032e6.

Affected versions

References

GitHub · 0xJacky/nginx-ui