CVE-2023-4807
Last modified
CVE-2023-4807 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. Issue summary: The POLY1305 MAC (message authentication code) implementation contains a bug that might corrupt the internal state of applications on the Windows 64 platform when running on newer X86_64 processors supporting the AVX512-IFMA instructions. Impact summary: If in an application that uses the OpenSSL library an attacker can influence whether the POLY1305 MAC algorithm is used, the application state might be corrupted with various application dependent consequences. The POLY1305 MAC (message authentication code) implementation in OpenSSL does not save the contents of non-volatile XMM registers on Windows 64 platform when calculating the MAC of data larger than 64 bytes. Before returning to the caller all the XMM registers are set to zero rather than restoring their previous content. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
Description
Issue summary: The POLY1305 MAC (message authentication code) implementation contains a bug that might corrupt the internal state of applications on the Windows 64 platform when running on newer X86_64 processors supporting the AVX512-IFMA instructions. Impact summary: If in an application that uses the OpenSSL library an attacker can influence whether the POLY1305 MAC algorithm is used, the application state might be corrupted with various application dependent consequences. The POLY1305 MAC (message authentication code) implementation in OpenSSL does not save the contents of non-volatile XMM registers on Windows 64 platform when calculating the MAC of data larger than 64 bytes. Before returning to the caller all the XMM registers are set to zero rather than restoring their previous content. The vulnerable code is used only on newer x86_64 processors supporting the AVX512-IFMA instructions. The consequences of this kind of internal application state corruption can be various - from no consequences, if the calling application does not depend on the contents of non-volatile XMM registers at all, to the worst consequences, where the attacker could get complete control of the application process. However given the contents of the registers are just zeroized so the attacker cannot put arbitrary values inside, the most likely consequence, if any, would be an incorrect result of some application dependent calculations or a crash leading to a denial of service. The POLY1305 MAC algorithm is most frequently used as part of the CHACHA20-POLY1305 AEAD (authenticated encryption with associated data) algorithm. The most common usage of this AEAD cipher is with TLS protocol versions 1.2 and 1.3 and a malicious client can influence whether this AEAD cipher is used by the server. This implies that server applications using OpenSSL can be potentially impacted. However we are currently not aware of any concrete application that would be affected by this issue therefore we consider this a Low severity security issue. As a workaround the AVX512-IFMA instructions support can be disabled at runtime by setting the environment variable OPENSSL_ia32cap: OPENSSL_ia32cap=:~0x200000 The FIPS provider is not affected by this issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 1.1.1, < 1.1.1w |
| Openssl | Openssl | >= 3.0.0, < 3.0.11 |
| Openssl | Openssl | >= 3.1.0, < 3.1.3 |
References
- https://www.openssl.org/news/secadv/20230908.txtVendor Advisory
- https://www.openssl.org/news/secadv/20230908.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-4807?
How severe is CVE-2023-4807?
How do I fix CVE-2023-4807?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-48056PyPinkSign v0.5.1 uses a non-random or static IV for Cipher …7.5
- CVE-2023-48058Dreamer CMS v4.1.3 was discovered to contain a Cross-Site Re…8.8
- CVE-2023-4806A flaw has been identified in glibc. In an extremely rare si…5.9
- CVE-2023-48060Dreamer CMS v4.1.3 was discovered to contain a Cross-Site Re…8.8
- CVE-2023-48063An issue was discovered in dreamer_cms 4.1.3. There is a CSR…4.3
- CVE-2023-48068DedeCMS v6.2 was discovered to contain a Cross-site Scriptin…5.4
- CVE-2023-48078SQL Injection vulnerability in add.php in Simple CRUD Functi…9.8
- CVE-2023-4808The WP Post Popup WordPress plugin through 3.7.3 does not sa…4.8
- CVE-2023-48082Nagios XI before 2024R1 was discovered to improperly handle …9.1
- CVE-2023-48084Nagios XI before version 5.11.3 was discovered to contain a …9.8
- CVE-2023-48085Nagios XI before version 5.11.3 was discovered to contain a …9.8
- CVE-2023-48087xxl-job-admin 2.4.0 is vulnerable to Insecure Permissions vi…5.4
Are you affected by CVE-2023-4807?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
