MediumGHSA-4h8f-c635-25p7

ibexa/post-install affected by Breach with Varnish VCL

Published 2 Dec 2024 · Updated 2 Dec 2024

Is your project on an affected ibexa/post-install?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=1.0.0 <1.0.16
Fixed in
1.0.16
Update to the fixed version for your release line, for example:composer require ibexa/post-install:^1.0.16
Affected
>=4.6.0 <4.6.14
Fixed in
4.6.14
Update to the fixed version for your release line, for example:composer require ibexa/post-install:^4.6.14

Details

Impact

This is not a vulnerability in the code per se, but included platform.sh Varnish VCL templates and Apache/Nginx vhost 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.

Patches

  • See "Patched versions".
  • v1.0: https://github.com/ibexa/post-install/commit/d91cc02623dd3263a99a94ace133c95e48909e5d
  • v4.6: https://github.com/ibexa/post-install/commit/ae7c3c2081a862c75b90828f08bd74436ceb8fe8

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 v3.3: https://doc.ibexa.co/en/latest/update_and_migration/from_3.3/update_from_3.3/#v3341
  • Release notes v4.6: https://doc.ibexa.co/en/latest/update_and_migration/from_4.6/update_from_4.6/#v4614
  • https://github.com/ezsystems/ezplatform-http-cache/security/advisories/GHSA-mgfg-7533-7jf6
  • https://github.com/ibexa/http-cache/security/advisories/GHSA-fh7v-q458-7vmw
  • https://www.breachattack.com/

Is GHSA-4h8f-c635-25p7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ibexa/post-install, and gives you the command that fixes it.

More advisories for ibexa/post-install

  • HighGHSA-gqcf-83rq-gpfrAny storage file can be downloaded from p.sh if full server path is known · 14 Sept 2021
ibexa/post-install security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.