Cyber Security News

PoC Exploit Code Published for nginx-ui Backup Restore Security Flaw

A critical security flaw in the nginx-ui backup restore mechanism, tracked as CVE-2026-33026, allows attackers to manipulate encrypted backups and execute arbitrary commands.

Proof-of-Concept (PoC) exploit code has been publicly released, prompting an urgent need for administrators to update to version 2.3.4.

Backup Integrity Bypass Flaw

The vulnerability stems from a circular trust model where the backup format lacks a secure integrity root.

cipher = AES.new(key, AES.MODE_CBC, iv)
decrypted = cipher.decrypt(encrypted_data)
return unpad(decrypted, AES.block_size)
with zipfile.ZipFile(file_path, 'r') as main_zip:
    main_zip.extractall(output_dir)

files_to_decrypt = ["hash_info.txt", "nginx-ui.zip", "nginx.zip"]

for filename in files_to_decrypt:
    path = os.path.join(output_dir, filename)
    if os.path.exists(path):
        with open(path, "rb") as f:
            encrypted = f.read()

        decrypted = decrypt_aes_cbc(encrypted, key_b64, iv_b64)

        out_path = path + ".decrypted"
        with open(out_path, "wb") as f:
            f.write(decrypted)
        print(f"[*] Successfully decrypted: {out_path}")

The application provides the AES encryption key and Initialization Vector (IV) directly to the client as a security token, which encrypts both the data and the integrity metadata, as reported by Security Researcher 0xJacky.

Attackers can use this token to decrypt the archive, alter configuration files, update the SHA-256 hashes, and re-encrypt the bundle for restoration.

Generate a backup and extract the security token (Source: Github)

Because the restore process accepts the modified integrity metadata generated by the attacker, malicious configurations are seamlessly applied to the server environment.

This manipulation grants threat actors the ability to insert backdoors and achieve arbitrary command execution on the host machine.

The exploit operates silently regardless of hash mismatches, potentially leading to a complete compromise of the nginx-ui deployment.

The system accepts the modified backup (Source: Github)

Administrators must immediately upgrade their nginx-ui installations to the patched version 2.3.4 to secure their infrastructure.

Developers are advised to introduce a trusted integrity root, such as signing backup metadata using a server-side private key rather than client-exposed tokens.

Furthermore, enforcing strict server-side integrity verification during the restore process will prevent attacker-controlled data from being processed entirely.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Storm-2603 Hackers Exploit SharePoint and Abuse Cloudflare Tunnel to Hide Remote Access

A December intrusion to Storm-2603, the China-based group Microsoft ties to Warlock ransomware. The attackers…

8 minutes ago

OpenSSH sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords

A decade-old authentication bypass in OpenSSH on musl-based Linux lets attackers log into accounts that…

11 minutes ago

New GhostMap Android Vulnerability Can Crash Phones Permanently Without Opening an App or Granting Permissions

Bitdefender researchers have revealed a vulnerability called GhostMap that affects Android devices. This vulnerability can…

20 minutes ago

Microsoft Paint Vulnerability Allows Hackers to Execute Malicious Code Remotely Without User Interaction

Microsoft has announced a vulnerability in Windows Paint that could let unauthenticated attackers execute malicious…

44 minutes ago

ARTEX AI Framework Linked to Bank Breaches and Cloud Attacks Found Exposed Across Hundreds of Servers

An autonomous penetration-testing framework linked to South Korean banking breaches and cloud supply-chain attacks is…

1 hour ago

Shopify Makes IP Allowlisting Mandatory for All Public Apps to Prevent Stolen API Token Abuse

Shopify is making IP allowlisting mandatory for all public apps to limit abuse of stolen…

1 hour ago