Description
NetBox through 4.7.0 fails to properly scope user-private records in REST and GraphQL API endpoints for Notifications, Subscriptions, and Bookmarks. Authenticated users with view permissions can access all users' private records through unscoped querysets, disclosing which users watch or bookmark which objects.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
netbox-community netbox
Default version status: unaffected
0 to ≤ 4.7.0affected
pkg:github/netbox-community/netboxReferences
- https://github.com/geo-chen/oss/blob/main/netbox.md#finding-1-cross-user-disclosure-of-private-notifications-subscriptions-and-bookmarks-via-rest-api-and-graphql-missing-per-user-scoping ↗
- https://github.com/netbox-community/netbox/blob/v4.7.0/netbox/extras/api/views.py#L153-L178 ↗
- https://github.com/netbox-community/netbox/blob/v4.7.0/netbox/netbox/settings.py#L667-L673 ↗
- https://github.com/netbox-community/netbox ↗
- https://www.vulncheck.com/advisories/netbox-through-4.7.0-information-disclosure-via-rest-and-graphql-apis ↗