GHSA-fh7v-q458-7vmw ibexa/http-cache affected by Breach with Varnish VCL
Attackers can extract secrets from HTTP responses via BREACH attack due to enabled compression in Varnish VCL templates.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-fh7v-q458-7vmw?
GHSA-fh7v-q458-7vmw is a vulnerability in ibexa/http-cache, published on 2 Dec 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Impact
This is not a vulnerability in the code per se, but included Varnish VCL templates enable compression of API and JSON messages. This is a potential case of the BREACH vulnerability, which affects HTTP compression, where secrets can be extracted through carefully crafted requests. The fix disables compression in these templates. Please make sure to make the same change in your configuration files, see the release notes for specific instructions. Please check your web server configuration as well.
Patches
- See "Patched versions".
- https://github.com/ibexa/http-cache/commit/e03f683e8db53b6d253e1af8177befeecc8d3914
Workarounds
Make sure HTTP compression is disabled for REST API requests and other communication that might contain secrets.
References
- Advisory: https://developers.ibexa.co/security-advisories/ibexa-sa-2024-006-vulnerabilities-in-content-name-pattern-commerce-shop-and-varnish-vhost-templates
- Release notes: https://doc.ibexa.co/en/latest/update_and_migration/from_4.6/update_from_4.6/#v4614
- https://github.com/ibexa/post-install/security/advisories/GHSA-4h8f-c635-25p7
- https://github.com/ezsystems/ezplatform-http-cache/security/advisories/GHSA-mgfg-7533-7jf6
- https://www.breachattack.com/
Which versions are affected by GHSA-fh7v-q458-7vmw?
2 open source packages ship an affected version, including ibexa/http-cache.
| Package | Affected | Fixed in |
|---|---|---|
ibexa/http-cache Packagist | From 4.6.0 | 4.6.14 |
ibexa/http-cache Packagist | From 4.6.0 | 4.6.14 |
How do I fix GHSA-fh7v-q458-7vmw?
Upgrade ibexa/http-cache to 4.6.14 or later.
Is GHSA-fh7v-q458-7vmw being exploited?
There is no known exploitation of GHSA-fh7v-q458-7vmw in the wild and no public exploit code.