Protected-object disclosure via unguarded format_map access
Published Sep 6, 2023 · Updated Sep 26, 2024
Information disclosure in AccessControl before 4.4, 5.0 through 5.7, and 6.0 through 6.1 allows remote authenticated users to read protected objects. The str.format_map method performs recursive attribute and subscription access with unrestricted getattr and getitem instead of AccessControl guards. Exploitation requires permission to create and execute AccessControl-controlled Python code; it exposes objects reachable from values supplied to the format operation.
Summary
What happened
Information disclosure in AccessControl before 4.4, 5.0 through 5.7, and 6.0 through 6.1 allows remote authenticated users to read protected objects. The str.format_map method performs recursive attribute and subscription access with unrestricted getattr and getitem instead of AccessControl guards. Exploitation requires permission to create and execute AccessControl-controlled Python code; it exposes objects reachable from values supplied to the format operation.
The record
- CVE
- CVE-2023-41050
- Published
- Sep 6, 2023
- Updated
- Sep 26, 2024
- Vendor
- Zope Foundation
- Product
- AccessControl
- Classifications
- CWE-200
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 6, 2023CVE publishedPublication date reported by the CVE source.
- Sep 26, 2024Record 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=AccessControl: < 4.4
- Affected versionversion=AccessControl: >= 5.0, < 5.8
- Affected versionversion=AccessControl: >= 6.0, < 6.2
- Affected versionversion=Zope: < 4.8.9
- Affected versionversion=Zope: >= 5.0.0, < 5.8.4
What conditions does exploitation require?
What is affected?
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
No public exploit references are available in this record.
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