CVE-2023-51651: AWS SDK for PHP - Path Traversal
- Cve: CVE-2023-51651
- Name: AWS SDK for PHP - Path Traversal
- Description: AWS SDK for PHP is the Amazon Web Services software development kit for PHP. Within the scope of requests to S3 object keys and/or prefixes containing a Unix double-dot, a URI path traversal is possible. The issue exists in the `buildEndpoint` method in the RestSerializer component of the AWS SDK for PHP v3 prior to 3.288.1. The `buildEndpoint` method relies on the Guzzle Psr7 UriResolver utility, which strips dot segments from the request path in accordance with RFC 3986. Under certain conditions, this could lead to an arbitrary object being accessed. This issue has been patched in version 3.288.1.
- Impact: Attackers can access arbitrary S3 objects by manipulating object keys or prefixes containing double-dot sequences.
- Remediation: Update to version 3.288.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00376
- Epss percentile: 0.32049
- Assignee: [email protected]
- Published at: 2023-12-22T21:15:09Z
- Age in days: 1068
- Modified at: 2026-06-17T06:41:24Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-51651
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| amazon:aws_software_development_kit | < 3.288.1 | no | nvd | /v1/products/amazon/aws_software_development_kit |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aws/aws-sdk-php | commit, fix, package, releases, security_advisory | yes | /v1/repositories/aws/aws-sdk-php |
Index
- Repositories: 38
- Repositories high signal: 27
- Packages: 2
Exploitation
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts