Shipkeep backup flaw let a genuine but outdated archive pass restore checks
Shipkeep, an open-source platform for deploying apps on your own servers, backs up its PostgreSQL database and encryption key together in an age-encrypted archive. Its restore process verified archives with an HMAC tag, which confirmed that the archive was made by a server holding the installation's backup key. However, the check did not confirm that the archive was the specific one the operator requested, so anyone able to write to the storage could substitute an older valid backup. Such a rollback would restore revoked tokens, old passwords, and removed members while every check still passed. The fix adds a version 2 manifest that includes the archive's name under the HMAC, and the restore now compares that name against the one requested.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in