Lucene search

K
osvGoogleOSV:GHSA-G9QX-25VJ-RF53
HistoryApr 12, 2024 - 3:37 p.m.

Apache Solr Operator liveness and readiness probes may leak basic auth credentials

2024-04-1215:37:22
Google
osv.dev
8
security
vulnerability
apache solr

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Insertion of Sensitive Information into Log File vulnerability in the Apache Solr Operator.

This issue affects all versions of the Apache Solr Operator from 0.3.0 through 0.8.0.

When asked to bootstrap Solr security, the operator will enable basic authentication and create several accounts for accessing Solr: including the β€œsolr” and β€œadmin” accounts for use by end-users, and a β€œk8s-oper” account which the operator uses for its own requests to Solr.
One common source of these operator requests is healthchecks: liveness, readiness, and startup probes are all used to determine Solr’s health and ability to receive traffic.
By default, the operator configures the Solr APIs used for these probes to be exempt from authentication, butΒ users may specifically request that authentication be required on probe endpoints as well.
Whenever one of these probes would fail, if authentication was in use, the Solr Operator would create a Kubernetes β€œevent” containing the username and password of the β€œk8s-oper” account.

Within the affected version range, this vulnerability affects any solrcloud resource which (1) bootstrapped security through use of the .solrOptions.security.authenticationType=basic option, and (2) required authentication be used on probes by setting .solrOptions.security.probesRequireAuth=true.

Users are recommended to upgrade to Solr Operator version 0.8.1, which fixes this issue by ensuring that probes no longer print the credentials used for Solr requests.Β  Users may also mitigate the vulnerability by disabling authentication on their healthcheck probes using the setting .solrOptions.security.probesRequireAuth=false.

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for OSV:GHSA-G9QX-25VJ-RF53