OpenWISP Controller CA CRL REST API does not scope requests to managed organizations
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openwispopenwisp-controller | — | Not listed |
| pipopenwisp-controller |
< 1.3.2→ 1.3.2 |
1.3.2 |
| PyPIopenwisp-controller |
≥ 1.0.0, < 1.3.2→ 1.3.2 |
1.3.2 |
Original description The description as published by the source.
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//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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com