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: 8.3 [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]
CVE-ID: CVE-2023-51651
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

AWS SDK for PHP
snipe-it

How to mitigate CVE-2023-51651

Install update from vendor's website.

AWS SDK for PHP - update to 3.288.1
snipe-it - update to 6.3.0

External References

Related Security Bulletins