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

 

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

Published: January 30, 2024


Vulnerability identifier: #VU85898
CSH Severity: Low
CVSS v4.0: 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 access
Exploit availability: No public exploit available
Vendor: Amazon Web Services
Affected software:
AWS SDK for PHP

Detailed vulnerability 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.


How to mitigate CVE-2023-51651

Install update from vendor's website.

Sources