NetBox 4.5.8 ORM Injection via WritableNestedSerializer
NetBox Labs NetBox
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NetBox Labs NetBox |
| No fix yet |
Original 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.
From the CVE record · VulnCheck