# GHSA-7crc-r3wg-cfgf: Json response for search reveals Solr credentials

> An error in Ibexa's Solr search engine exposes Solr credentials in JSON responses, allowing attackers to read sensitive data.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Nov 2023

## What is GHSA-7crc-r3wg-cfgf?

GHSA-7crc-r3wg-cfgf is a vulnerability in ezsystems/ezplatform-solr-search-engine, published on 3 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

### Impact
An error in Ibexa's Solr search engine results in potential exposure of Solr credentials. This is a critical vulnerability and all supported versions of the engine are affected. Those not using the Solr search engine are not affected.

### Patches
The issue is fixed in all supported versions of ezsystems/ezplatform-solr-search-engine, see "Patched versions".
An advisory is also published for ibexa/solr, please see that repository.
Commit: https://github.com/ezsystems/ezplatform-solr-search-engine/commit/1005e02cc32ff15a705857fa56171528a83b9c3e

### Workarounds
None.

### References
https://developers.ibexa.co/security-advisories/ibexa-sa-2023-005-vulnerabilities-in-solr-search-and-file-downloads

## Which versions are affected by GHSA-7crc-r3wg-cfgf?

6 open source packages ship an affected version, including ezsystems/ezplatform-solr-search-engine.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 1.7.0 | 1.7.12 |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 1.7.0 | 1.7.12 |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 2.0.0 | 2.0.2 |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 2.0.0 | 2.0.2 |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 3.3.0 | 3.3.15 |
| `ezsystems/ezplatform-solr-search-engine` | Packagist | From 3.3.0 | 3.3.15 |

## How do I fix GHSA-7crc-r3wg-cfgf?

Upgrade ezsystems/ezplatform-solr-search-engine to a fixed version for your release line: 1.7.12, 2.0.2 or 3.3.15.

## Is GHSA-7crc-r3wg-cfgf being exploited?

There is no known exploitation of GHSA-7crc-r3wg-cfgf in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-7crc-r3wg-cfgf and fix it if it is affected.

What it is: GHSA-7crc-r3wg-cfgf is a vulnerability in ezsystems/ezplatform-solr-search-engine, published on 3 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-7crc-r3wg-cfgf in the wild and no public exploit code.

Affected packages and fixed versions:
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 1.7.0; fixed in 1.7.12
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 1.7.0; fixed in 1.7.12
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 2.0.0; fixed in 2.0.2
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 2.0.0; fixed in 2.0.2
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 3.3.0; fixed in 3.3.15
- ezsystems/ezplatform-solr-search-engine (Packagist): affected from 3.3.0; fixed in 3.3.15

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-7crc-r3wg-cfgf/ (Markdown: https://insights.sbomify.com/GHSA-7crc-r3wg-cfgf/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-7crc-r3wg-cfgf

---
From sbomify Insights: https://insights.sbomify.com/GHSA-7crc-r3wg-cfgf/
Summaries are generated and may contain mistakes; the official description above is the record.
