SB2022052525 - Drupal update for Guzzle



SB2022052525 - Drupal update for Guzzle

Published: May 25, 2022

Security Bulletin ID SB2022052525
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Information disclosure (CVE-ID: CVE-2022-29248)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to way cookies are handled in cookie middleware within Guzzle. If the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, a malicious server can set cookies for unrelated domains.

For example an attacker at www.example.com might set a session cookie for api.example.net, logging the Guzzle client into their account and retrieving private API requests from the security log of their account.

Note that cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability.


Remediation

Install update from vendor's website.