borg-uiの脆弱性で権限昇格のおそれ、管理者として乗っ取られるリスク
Summary
borg-uiの2.4.1より前のバージョンには、バックアップ計画のAPIで任意のパスを指定できる脆弱性があります。この脆弱性を悪用されると、リポジトリの操作権限しかない利用者でも管理者権限を取得され、アプリケーション全体を乗っ取られるおそれがあります。修正版の2.4.1が公開されていますので、速やかに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
borg-uiの2.4.1より前のバージョンには、バックアップ計画のAPIで任意のパスを指定できる脆弱性があります。この脆弱性を悪用されると、リポジトリの操作権限しかない利用者でも管理者権限を取得され、アプリケーション全体を乗っ取られるおそれがあります。修正版の2.4.1が公開されていますので、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| karanhudiaborg-ui |
< 2.4.1→ 2.4.1 |
2.4.1 |
Original description The description as published by the source.
borg-ui before 2.4.1 contains a privilege escalation vulnerability that allows a repository-scoped operator to escalate to full administrator by exploiting an unrestricted source_directories field in the backup-plan API that lacks path allow-listing. Attackers can configure a backup plan to archive the application's data directory, download the resulting archive to extract the static HS256 .secret_key, and use it to forge a JWT with sub":"admin" to access admin-only endpoints like GET /api/auth/users, achieving full application takeover without admin credentials, XSS, or CSRF.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com
- web github.com