#VU64188 Improperly implemented security check for standard in guzzle


Published: 2022-06-10

Vulnerability identifier: #VU64188

Vulnerability risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31042

CWE-ID: CWE-358

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
guzzle
Web applications / Other software

Vendor: Guzzle

Description

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

The vulnerability exists due to insecure implementation when handling HTTPS to HTTP redirects. The application includes "Cookie" header into request if the target server responds with a redirect to a URI with the `http` scheme, or on making a request to a server which responds with a redirect to a a URI to a different host. As a result a remote attacker can obtain the authentication cookie and compromise the affected application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

guzzle: 7.4.0 - 7.4.3, 7.3.0, 7.2.0, 7.1.0 - 7.1.1, 7.0.0 - 7.0.1, 6.5.0 - 6.5.6, 6.4.0 - 6.4.1, 6.3.0 - 6.3.3, 6.2.0 - 6.2.3, 6.1.0 - 6.1.1, 6.0.0 - 6.0.2, 5.3.0 - 5.3.4, 5.2.0, 5.1.0, 5.0.0 - 5.0.3, 4.2.0 - 4.2.4, 4.1.0 - 4.1.8, 4.0.0 - 4.0.2, 3.8.0 - 3.8.1, 3.7.0 - 3.7.4, 3.6.0, 3.5.0, 3.4.0 - 3.4.3, 3.3.0 - 3.3.1, 3.2.0, 3.1.0 - 3.1.2, 3.0.0 - 3.0.7, 2.8.0 - 2.8.8, 2.7.0 - 2.7.2, 2.6.0 - 2.6.6, 2.5.0, 2.4.0 - 2.4.1, 2.3.0 - 2.3.2, 2.2.0 - 2.2.4, 2.1.0 - 2.1.4, 2.0.0 - 2.0.5, 1.0.0 - 1.0.4


External links
http://github.com/guzzle/guzzle/security/advisories/GHSA-f2wf-25xc-69c9
http://github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0b8716ad8


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability