miniflux/v2 · Security
Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics
- GHSA ID
- GHSA-3qjf-qh38-x73v
- CVE ID
- CVE-2023-27591
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Impact
An unauthenticated user can retrieve Prometheus metrics from a publicly reachable Miniflux instance where the METRICS_COLLECTOR configuration option is enabled and METRICS_ALLOWED_NETWORKS is set to 127.0.0.1/8 (the default).
Patches
PR #1745 fixes the problem. Available in Miniflux >= 2.0.43.
Workarounds
Set METRICS_COLLECTOR to false (default) or run Miniflux behind a trusted reverse-proxy.
References
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-1220 · Insufficient Granularity of Access Control
References
- https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-27591 ↗
- https://github.com/miniflux/v2/pull/1745 ↗
- https://github.com/miniflux/v2/releases/tag/2.0.43 ↗
- https://miniflux.app/docs/configuration.html#metrics-collector ↗
- https://github.com/advisories/GHSA-3qjf-qh38-x73v ↗