CVE-2023-5455: CSRF in FreeIPA /ipa/session/login_password
CVE-2023-5455 Published on January 10, 2024
Ipa: invalid csrf protection
A Cross-site request forgery vulnerability exists in ipa/session/login_password in all supported versions of IPA. This flaw allows an attacker to trick the user into submitting a request that could perform actions as the user, resulting in a loss of confidentiality and system integrity. During community penetration testing it was found that for certain HTTP end-points FreeIPA does not ensure CSRF protection. Due to implementation details one cannot use this flaw for reflection of a cookie representing already logged-in user. An attacker would always have to go through a new authentication attempt.
Vulnerability Analysis
CVE-2023-5455 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity, and no impact on availability.
Timeline
Reported to Red Hat.
Made public. 93 days later.
Weakness Type
What is a Session Riding Vulnerability?
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request. When a web server is designed to receive a request from a client without any mechanism for verifying that it was intentionally sent, then it might be possible for an attacker to trick a client into making an unintentional request to the web server which will be treated as an authentic request. This can be done via a URL, image load, XMLHttpRequest, etc. and can result in exposure of data or unintended code execution.
CVE-2023-5455 has been classified to as a Session Riding vulnerability or weakness.
Products Associated with CVE-2023-5455
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-5455 are published in these products:
Affected Versions
Red Hat Enterprise Linux 7:- Version 0:4.6.8-5.el7_9.16 and below * is unaffected.
- Version 8090020231201152514.3387e3d0 and below * is unaffected.
- Version 8020020231123154806.792f4060 and below * is unaffected.
- Version 8020020231123154806.792f4060 and below * is unaffected.
- Version 8020020231123154806.792f4060 and below * is unaffected.
- Version 8040020231123154610.5b01ab7e and below * is unaffected.
- Version 8040020231123154610.5b01ab7e and below * is unaffected.
- Version 8040020231123154610.5b01ab7e and below * is unaffected.
- Version 8060020231208020207.ada582f1 and below * is unaffected.
- Version 0:1.18.2-16.el8_6 and below * is unaffected.
- Version 8080020231201153604.b0a6ceea and below * is unaffected.
- Version 0:4.10.2-5.el9_3 and below * is unaffected.
- Version 0:4.9.8-9.el9_0 and below * is unaffected.
- Version 0:4.10.1-10.el9_2 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.