revoked_at is not included in signature
#56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Info
Severity: CRITICAL
Attack vector: offline
Impact
Allows an attacker to restore previously revoked grants and regain signing capability.
Description
The
revoked_atfield is stored in the database but is not included in the MAC-protected grant payload. As a result, revocation state can be changed withoutbreaking integrity verification.
Example flow
revoked_atback toNULL.Mitigation
Include
revoked_atin the integrity-protected grant representation, or move revocation status into a separately protected structure.