openwisp-controller: OpenWISP Controller CA CRL REST API does not scope requests to managed organizations
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
OpenWISP Controller is a network and WiFi controller for provisioning, configuration management, updates, and PKI management. From 1.0.0 until 1.3.2, the GET /api/v1/controller/ca/<integer-id>/crl endpoint allows an authenticated organization manager with CA view permission to retrieve another organization's certificate revocation list by requesting its sequential CA identifier. CrlDownloadView.retrieve resolves the CA directly instead of using the organization-scoped object retrieval enforced by FilterByOrganizationManaged, bypassing the endpoint's intended authorization boundary. The response can disclose CA issuer information and revoked certificate serial numbers, but it does not expose CA private keys or allow modification. This issue is fixed in version 1.3.2.
Text from CVE List
Affected versions 1
- openwisp-controlleraffected: >= 1.0.0, < 1.3.2CVE List
References 4
- github.com/openwisp/openwisp-controller/commit/90ded783267aa11b89768b0ec9ae69895cc3730cFixvia CVE List
- github.com/openwisp/openwisp-controller/commit/9e1869e17734a0f34bc428622d463c1a8c230720Fixvia CVE List
- github.com/openwisp/openwisp-controller/releases/tag/1.3.2Fixvia CVE List
- github.com/openwisp/openwisp-controller/security/advisories/GHSA-9gh4-xw24-9xh5Advisoryvia CVE List