In OpenStack Swift through 2.38.0, S3API middleware does not enforce that semantic x-amz-* headers are covered by the SigV4 signature on presigned URL requests. An attacker who obtains a presigned PUT URL can inject an unsigned X-Amz-Copy-Source header, causing Swift to perform a server-side copy from an arbitrary source object using the signer's authorization context. The attacker can read any object the signer has access to, provided the target project_id, container name, and object name are known.
This affects all deployments using the default s3_acl=false configuration.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Openstack Swift
cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
|
2.18.0
|
2.35.4
|
|
Openstack Swift
cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
|
2.36.0
|
2.36.3
|
|
Openstack Swift
cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
|
2.37.0
|
2.37.3
|
|
Openstack Swift
cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*
|
2.38.0
|
<= 2.38.0
|