Tag

Borg Ui

All articles tagged with #borg ui

borg-ui Flaw Lets Low-Priv Users Hijack Admin Access via Backup Path Traversal
security14 hours ago

borg-ui Flaw Lets Low-Priv Users Hijack Admin Access via Backup Path Traversal

A high-severity vulnerability in borg-ui versions prior to 2.4.1 allows users with repository-level access to escalate to full administrator privileges. The flaw stems from an unrestricted source_directories field in the backup-plan API, which lacks path allow-listing. Attackers can configure a backup plan to archive the application's data directory, download the archive, and extract the static HS256 secret key. This key is then used to forge a JWT with an admin subject, granting access to restricted endpoints like GET /api/auth/users. The vulnerability is rated 8.7 on the CVSS 4.0 scale and 8.8 on CVSS 3.1, indicating high impact on confidentiality, integrity, and availability. No user interaction or complex attack conditions are required, only low-level privileges. The issue was patched in version 2.4.1, released by vendor karanhudia. The weakness is classified as CWE-73, External Control of File Name or Path, with a high likelihood of exploitation according to MITRE.