Authenticated file disclosure via S3 XML entities
Published Jan 18, 2023 · Updated Apr 4, 2025
XXE in OpenStack Swift before 2.28.1, 2.29.0 through 2.29.1, and 2.30.0 allows remote authenticated users to read server files. The S3 API's shared lxml parser resolves external entities in attacker-controlled XML, injects local file contents into request fields, and reflects them in responses. Exploitation requires valid S3 credentials and an s3api or legacy swift3 deployment with S3 compatibility enabled; disclosure is limited to files readable by the Swift service account.
Summary
What happened
XXE in OpenStack Swift before 2.28.1, 2.29.0 through 2.29.1, and 2.30.0 allows remote authenticated users to read server files. The S3 API's shared lxml parser resolves external entities in attacker-controlled XML, injects local file contents into request fields, and reflects them in responses. Exploitation requires valid S3 credentials and an s3api or legacy swift3 deployment with S3 compatibility enabled; disclosure is limited to files readable by the Swift service account.
The record
- CVE
- CVE-2022-47950
- Published
- Jan 18, 2023
- Updated
- Apr 4, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-611, CWE-552, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 18, 2023CVE publishedPublication date reported by the CVE source.
- Apr 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- OpenStack Swift S3 API XXE regression payloadsproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo