CVE-2023-27591 Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics

High 7.5 Published Updated

Unauthenticated attackers can bypass network restrictions to access Prometheus metrics in Miniflux when the metrics collector is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-27591?

CVE-2023-27591 is a high-severity authentication bypass vulnerability in miniflux v2, published on 17 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Miniflux is a feed reader. Prior to version 2.0.43, 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). A patch is available in Miniflux 2.0.43. As a workaround, set `METRICS_COLLECTOR` to `false` (default) or run Miniflux behind a trusted reverse-proxy.

Weakness: CWE-200, CWE-1220

Which versions are affected by CVE-2023-27591?

4 open source packages ship an affected version, including miniflux.app and miniflux.app/v2. It affects 1 product.

PackageAffectedFixed in
miniflux.app GoAll versions to 1.0.46None
miniflux.app GoAll versions to 1.0.46None
miniflux.app/v2 GoAll versions2.0.43
miniflux.app/v2 GoAll versions2.0.43

Products include Miniflux Project Miniflux.

How do I fix CVE-2023-27591?

Upgrade to a fixed version.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-27591 being exploited?

There is no known exploitation of CVE-2023-27591 in the wild and no public exploit code.

Sources

Also known as GHSA-3qjf-qh38-x73v.

Is CVE-2023-27591 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free