# GHSA-cc2j-92jq-wgjg: eZ Publish Information disclosure in backend content tree menu

> An attacker with backend access can view hidden content tree items if site access rules are configured, leading to information disclosure.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 May 2024

## What is GHSA-cc2j-92jq-wgjg?

GHSA-cc2j-92jq-wgjg is a vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

This security advisory fixes an information disclosure vulnerability in the legacy admin content tree menu. If a view has been disabled in site.ini [SiteAccessRules] Rules, and an attacker accesses the backend with the URL to this module, then the tree menu may be displayed. Since the tree menu may contain hidden items, this may lead to information disclosure. We recommend that you install this Security Update as soon as possible.

To install, use Composer to update to one of the "Resolving versions" mentioned above, or apply this patch manually: https://github.com/ezsystems/ezpublish-legacy/commit/a4a0470f8d80f012fe14e4f8ab11c7d14375986c

## Which versions are affected by GHSA-cc2j-92jq-wgjg?

6 open source packages ship an affected version, including ezsystems/ezpublish-legacy.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ezsystems/ezpublish-legacy` | Packagist | From 2011.0.0 | 2017.8.1.1 |
| `ezsystems/ezpublish-legacy` | Packagist | From 2011.0.0 | 2017.8.1.1 |
| `ezsystems/ezpublish-legacy` | Packagist | From 5.3.0 | 5.3.12.2 |
| `ezsystems/ezpublish-legacy` | Packagist | From 5.3.0 | 5.3.12.2 |
| `ezsystems/ezpublish-legacy` | Packagist | From 5.4.0 | 5.4.10.1 |
| `ezsystems/ezpublish-legacy` | Packagist | From 5.4.0 | 5.4.10.1 |

## How do I fix GHSA-cc2j-92jq-wgjg?

Upgrade ezsystems/ezpublish-legacy to a fixed version for your release line: 2017.8.1.1, 5.3.12.2 or 5.4.10.1.

## Is GHSA-cc2j-92jq-wgjg being exploited?

There is no known exploitation of GHSA-cc2j-92jq-wgjg in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-cc2j-92jq-wgjg and fix it if it is affected.

What it is: GHSA-cc2j-92jq-wgjg is a vulnerability in ezsystems/ezpublish-legacy, published on 15 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-cc2j-92jq-wgjg in the wild and no public exploit code.

Affected packages and fixed versions:
- ezsystems/ezpublish-legacy (Packagist): affected from 2011.0.0; fixed in 2017.8.1.1
- ezsystems/ezpublish-legacy (Packagist): affected from 2011.0.0; fixed in 2017.8.1.1
- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.2
- ezsystems/ezpublish-legacy (Packagist): affected from 5.3.0; fixed in 5.3.12.2
- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.10.1
- ezsystems/ezpublish-legacy (Packagist): affected from 5.4.0; fixed in 5.4.10.1

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-cc2j-92jq-wgjg/ (Markdown: https://insights.sbomify.com/GHSA-cc2j-92jq-wgjg/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-cc2j-92jq-wgjg

---
From sbomify Insights: https://insights.sbomify.com/GHSA-cc2j-92jq-wgjg/
Summaries are generated and may contain mistakes; the official description above is the record.
