Description
NetBox 4.5.8 contains an ORM injection vulnerability that allows authenticated attackers, including those with read-only API tokens, to inject arbitrary Django ORM lookup expressions into nested object references by supplying crafted JSON dictionary keys in POST, PUT, or PATCH requests to any REST API endpoint. Attackers can exploit the unrestricted queryset used by WritableNestedSerializer to perform boolean-based blind data extraction of sensitive field values and bypass object-level permissions across all application modules including dcim, ipam, tenancy, virtualization, circuits, and extras.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
NetBox Labs NetBox
Default version status: affected
0 to ≤ 4.5.8affected
References
- https://github.com/netbox-community/netbox ↗
- https://github.com/netbox-community/netbox/issues/21988 ↗
- https://github.com/netbox-community/netbox/commit/b3489cd529ca00703a0b7fe4c45e91539add6df6 ↗
- https://github.com/netbox-community/netbox/pull/22013 ↗
- https://www.vulncheck.com/advisories/netbox-orm-injection-via-writablenestedserializer ↗