NGINX UI Unauthenticated Backup Download with Encryption Key Disclosure

Date: March 05, 2026
CVSS 3.0: 9.8 (Critical)

What is NGINX UI UBDEKD?

NGINX UI UBDEKD (Unauthenticated Backup Download with Encryption Key Disclosure) is a critical vulnerability affecting NGINX UI version 2.3.2 and earlier. The vulnerability allows unauthenticated attackers to access the /api/backup endpoint and download encrypted backup archives without valid credentials.

The vulnerability becomes significantly more severe because the application exposes the AES decryption key and IV within the X-Backup-Security HTTP response header. This allows attackers to decrypt the downloaded archives and recover sensitive application data.

Exposed data may include:

  • SQLite databases
  • Administrative password hashes
  • JWT secrets
  • Session tokens
  • Application configuration files
  • SSL private keys
  • Nginx configuration files

Disclosure Information

The vulnerability was publicly disclosed in 2026 and assigned CVE-2026-27944. Public proof-of-concept scripts demonstrated successful extraction and decryption of NGINX UI backups. The issue was mitigated in NGINX UI version 2.3.3 and newer.

How It Works

The vulnerability exists because the backup API endpoint does not properly enforce authentication checks before serving backup archives. An attacker can directly request the endpoint and receive an encrypted backup file.

During the response process, NGINX UI includes the AES encryption key and initialization vector within the HTTP response headers. Because both the encrypted archive and the required decryption material are exposed to unauthenticated users, attackers can fully decrypt the backup contents offline.

Once decrypted, attackers may recover configuration files, database files, administrative password hashes, and application secrets. Weak passwords may then be cracked offline to obtain valid credentials and authenticated access.

Potential Impact

Successful exploitation may result in:

  • Credential disclosure
  • Administrative account compromise
  • Exposure of application secrets
  • Disclosure of SSL private keys
  • Unauthorized access to infrastructure management interfaces
  • Lateral movement opportunities
  • Potential full server compromise

Mitigation Steps

Recommended mitigation steps include:

  • Upgrade NGINX UI to version 2.3.3 or newer.
  • Restrict administrative interface exposure using firewall rules or VPN-only access.
  • Disable or restrict backup API functionality where unnecessary.
  • Never expose encryption keys or IVs within HTTP responses.
  • Rotate all exposed credentials, tokens, and secrets.
  • Replace exposed SSL certificates and private keys.
  • Implement strong password policies and MFA for administrative accounts.

Educational Usage

This vulnerability was utilized during the Hack The Box “Snapped” machine to obtain initial access. Exploitation involved downloading encrypted backup archives, decrypting the files using exposed AES key material, extracting password hashes from a SQLite database, and recovering valid user credentials through offline password cracking.

Sources



Loading...