5.9 CVE-2023-5981
Enriched by CISA
A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding.
https://nvd.nist.gov/vuln/detail/CVE-2023-5981
Categories
CWE-208 : Observable Timing Discrepancy
In security-relevant contexts, even small variations in timing can be exploited by attackers to indirectly infer certain details about the product's internal operations. For example, in some cryptographic algorithms, attackers can use timing differences to infer certain properties about a private key, making the key easier to guess. Timing discrepancies effectively form a timing side channel.
CWE-203 : Observable Discrepancy
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. Observable Discrepancies are at the root of side channel attacks. Observable discrepancy in the RAPL interface for some Intel processors allows information disclosure. Crypto hardware wallet's power consumption relates to total number of pixels illuminated, creating a side channel in the USB connection that allows attackers to determine secrets displayed such as PIN numbers and passwords Java-oriented framework compares HMAC signatures using String.equals() instead of a constant-time algorithm, causing timing discrepancies This, and others, use ".." attacks and monitor error responses, so there is overlap with directory traversal. Enumeration of valid usernames based on inconsistent responses Account number enumeration via inconsistent responses. User enumeration via discrepancies in error messages. User enumeration via discrepancies in error messages. Bulletin Board displays different error messages when a user exists or not, which makes it easier for remote attackers to identify valid users and conduct a brute force password guessing attack. Operating System, when direct remote login is disabled, displays a different message if the password is correct, which allows remote attackers to guess the password via brute force methods. Product allows remote attackers to determine if a port is being filtered because the response packet TTL is different than the default TTL. Product sets a different TTL when a port is being filtered than when it is not being filtered, which allows remote attackers to identify filtered ports by comparing TTLs. Product modifies TCP/IP stack and ICMP error messages in unusual ways that show the product is in use. Behavioral infoleak by responding to SYN-FIN packets. Product may generate different responses than specified by the administrator, possibly leading to an information leak. Version control system allows remote attackers to determine the existence of arbitrary files and directories via the -X command for an alternate history file, which causes different error messages to be returned. FTP server generates an error message if the user name does not exist instead of prompting for a password, which allows remote attackers to determine valid usernames. SSL implementation does not perform a MAC computation if an incorrect block cipher padding is used, which causes an information leak (timing discrepancy) that may make it easier to launch cryptographic attacks that rely on distinguishing between padding and MAC verification errors, possibly leading to extraction of the original plaintext, aka the "Vaudenay timing attack." Virtual machine allows malicious web site operators to determine the existence of files on the client by measuring delays in the execution of the getSystemResource method. Product uses a shorter timeout for a non-existent user than a valid user, which makes it easier for remote attackers to guess usernames and conduct brute force password guessing. Product immediately sends an error message when a user does not exist, which allows remote attackers to determine valid usernames via a timing attack. FTP server responds in a different amount of time when a given username exists, which allows remote attackers to identify valid usernames by timing the server response. Browser allows remote attackers to determine the existence of arbitrary files by setting the src property to the target filename and using Javascript to determine if the web page immediately stops loading, which indicates whether the file exists or not.
References
af854a3a-2127-422b-91ae-364da2661108
secalert@redhat.com
| https://access.redhat.com/errata/RHSA-2024:0155 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:0319 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:0399 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:0451 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:0533 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:1383 Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2024:2094 Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-5981 Third Party Advisory Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2248445 Issue Tracking Third Party Advisory |
| https://gnutls.org/security-new.html#GNUTLS-SA-2023-10-23 Issue Tracking Vendor Advisory |
AFFECTED (from MITRE)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support |
|
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHODF-4.15-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | RHOL-5.8-RHEL-9 |
|
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| © 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. | ||
CPE
| cpe | start | end |
|---|---|---|
| Configuration 1 | ||
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | ||
| Configuration 2 | ||
| cpe:2.3:a:gnu:gnutls:*:*:*:*:*:*:*:* | < 3.8.2 | |
| Configuration 3 | ||
| cpe:2.3:o:redhat:linux:8.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:redhat:linux:9.0:*:*:*:*:*:*:* | ||
| Configuration 4 | ||
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | ||
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | ||
REMEDIATION
EXPLOITS
Exploit-db.com
| id | description | date | |
|---|---|---|---|
| No known exploits | |||
POC Github
| Url |
|---|
| No known exploits |
Other Nist (github, ...)
| Url |
|---|
| No known exploits |
CAPEC
Common Attack Pattern Enumerations and Classifications
| id | description | severity |
|---|---|---|
| 462 | Cross-Domain Search Timing |
Medium |
| 541 | Application Fingerprinting |
Low |
| 580 | System Footprinting |
Low |
| 189 | Black Box Reverse Engineering |
Low |
MITRE
Techniques
| id | description |
|---|---|
| T1082 | System Information Discovery |
| T1592.002 | Gather Victim Host Information: Software |
| © 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. | |
Mitigations
| id | description |
|---|---|
| M1056 | This technique cannot be easily mitigated with preventive controls since it is based on behaviors performed outside of the scope of enterprise defenses and controls. Efforts should focus on minimizing the amount and sensitivity of data available to external parties. |
| © 2022 The MITRE Corporation. Esta obra se reproduce y distribuye con el permiso de The MITRE Corporation. | |
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.
