| 제목 | SpecterOps BloodHound 9.4.0 Improper Authorization |
|---|
| 설명 | PATCH /api/v2/domains/{objectID} is a graph-write endpoint that updates a domain node's collected property, but it is authorized with a read-tier permission (GraphDBRead) instead of a write-tier one (GraphDBWrite).
As a result, roles intended to be read-only (Read-Only, Auditor) or otherwise lacking graph-write rights (User) can perform this write. The collected flag controls whether a domain is included in attack-path post-processing, so setting it to false causes that domain's attack-path edges (DCSync, ADCS ESCs, CanRDP, Owns, NTLM relay, etc.) to be deleted and not regenerated on the next analysis run, letting a low-privilege user hide attack paths from defenders.
Exploitable via both JWT session and API-key authentication.
Reproduction:
1. As a Read-Only user: PATCH /api/v2/domains/{domainSID} body {"collected":false} → HTTP 200
2. After next analysis run: MATCH ()-[r:DCSync]->() RETURN count(r) drops from 2 → 0
3. Restore collected=true + re-analyze → returns to 2
Solution:
Change the route to RequirePermissions(permissions.GraphDBWrite) (currently GraphDBRead) in cmd/api/src/api/registration/v2.go:261. |
|---|
| 사용자 | b1d0ws (UID 74336) |
|---|
| 제출 | 2026. 07. 17. PM 09:57 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 03. PM 05:47 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 398471 [SpecterOps BloodHound 까지 9.5.1 Graph Write Endpoint v2.go NewV2API 권한 상승] |
|---|
| 포인트들 | 17 |
|---|