#VU85898 Path traversal in AWS SDK for PHP - CVE-2023-51651


Vulnerability identifier: #VU85898

Vulnerability risk: Low

CVSSv4.0: 5.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2023-51651

CWE-ID: CWE-22

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
AWS SDK for PHP
Web applications / Other software

Vendor: Amazon Web Services

Description

The vulnerability allows a local user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in thebuildEndpoint method in the RestSerializer component. A local administrator can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

AWS SDK for PHP: 3.209.11 - 3.288.0


External links
https://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m
https://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2
https://github.com/aws/aws-sdk-php/releases/tag/3.288.1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability