Path traversal in AWS SDK for PHP



Published: 2024-01-30
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-51651
CWE-ID CWE-22
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
AWS SDK for PHP
Web applications / Other software

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Path traversal

EUVDB-ID: #VU85898

Risk: Low

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

CVE-ID: CVE-2023-51651

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

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

http://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m
http://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2
http://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.



###SIDEBAR###