CVE-2024-10041

Summary

A vulnerability was found in PAM. The secret information is stored in memory, where the attacker can trigger the victim program to execute by sending characters to its standard input (stdin). As this occurs, the attacker can train the branch predictor to execute an ROP chain speculatively. This flaw could result in leaked passwords, such as those found in /etc/shadow while performing authentications.

Affected Software

VendorProductVersion RangeStatus
1.6.0 < 1.6.0affected
Red HatRed Hat Enterprise Linux 80:1.3.1-36.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 90:1.5.1-21.el9_5 < *unaffected
Red HatRed Hat Enterprise Linux 90:1.5.1-21.el9_5 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:1.5.1-21.el9_4 < *unaffected

Weaknesses

  • CWE-922: Insecure Storage of Sensitive Information

Workarounds

This vulnerability is mitigated if SELinux is in Enforcing mode.

To verify if SELinux is in Enforcing mode, the output of the getenforce command will return `Enforcing', see the example below:

$ getenforce
Enforcing

To more information about SELinux, specifically how to set it to Enforcing mode, see the links below.

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References