Daniel Bae
Menu

Defensive edition

What an encrypted backup still exposes

Daniel BaeOriginally published

SecurityHack The BoxSnapd

The management panel produced an encrypted backup, but the export did not adequately restrict who could receive it. A separate issue on the host involved the lifetime of temporary objects used by a privileged service.

Who may receive an export

A backup carries much more than the information on any one dashboard. This export held sensitive application and authentication material. The Nginx-UI backup route answered without a session, and the response also carried the material needed to decrypt the archive (CVE-2026-27944, affecting releases before 2.3.3). Encryption that ships with its own key gave that data no independent access boundary.

I would update the panel to 2.3.3 or later and verify the export permission with a signed-out session and a minimally privileged account. The export and its decryption material should have separate access controls. If someone may already have received a backup, recovery should inventory its contents and rotate exposed credentials and keys. Closing the export does not recall an existing copy.

A password shared across systems

The application used a slow password verifier, bcrypt. A slow verifier raises the cost of guessing, but once a copy of the hashes has left the server, login throttling no longer applies. The lab also found password reuse. When scoping a backup exposure, the incident team should identify every service that needs a credential rotation. Distinct credentials let each service set its own access and recovery policy.

Cleanup is part of a service’s operating environment

The host also had a snapd issue involving temporary objects used by privileged code (CVE-2026-3888). Canonical lists 2.75.1 as the upstream fix and 2.73+ubuntu24.04.2 as the fixed Ubuntu 24.04 LTS package. The package’s release line matters when checking a backport. The lab’s cleanup policy removed temporary entries much sooner than a standard installation. A service’s assumptions about an object’s ownership and lifetime have to remain true while the rest of the system does its housekeeping.

I would apply the vendor’s fixed snapd package and verify the running version. The fix matters more than a longer cleanup interval, which changes only the timing. Reviewing local cleanup overrides alongside that update would document why the lab’s timing differed from a normal installation.