Bug 2242828 (CVE-2023-5455) - CVE-2023-5455 ipa: Invalid CSRF protection
Summary: CVE-2023-5455 ipa: Invalid CSRF protection
Keywords:
Status: NEW
Alias: CVE-2023-5455
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2257646
Blocks: 2242829
TreeView+ depends on / blocked
 
Reported: 2023-10-09 09:24 UTC by Sandipan Roy
Modified: 2024-03-26 15:41 UTC (History)
4 users (show)

Fixed In Version: ipa 4-11-1
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:0282 0 None None None 2024-01-18 07:26:12 UTC
Red Hat Product Errata RHSA-2024:0137 0 None None None 2024-01-10 12:27:43 UTC
Red Hat Product Errata RHSA-2024:0138 0 None None None 2024-01-10 12:26:24 UTC
Red Hat Product Errata RHSA-2024:0139 0 None None None 2024-01-10 13:10:31 UTC
Red Hat Product Errata RHSA-2024:0140 0 None None None 2024-01-10 13:44:06 UTC
Red Hat Product Errata RHSA-2024:0141 0 None None None 2024-01-10 13:23:17 UTC
Red Hat Product Errata RHSA-2024:0142 0 None None None 2024-01-10 13:29:39 UTC
Red Hat Product Errata RHSA-2024:0143 0 None None None 2024-01-10 13:34:14 UTC
Red Hat Product Errata RHSA-2024:0144 0 None None None 2024-01-10 13:25:12 UTC
Red Hat Product Errata RHSA-2024:0145 0 None None None 2024-01-10 13:23:43 UTC
Red Hat Product Errata RHSA-2024:0252 0 None None None 2024-01-15 15:46:44 UTC

Description Sandipan Roy 2023-10-09 09:24:32 UTC
IPA uses the HTTP Referer header to prevent CSRF attacks but it is not applied universally. Notably, the URI ipa/session/login_password is not protected.

A third party may trick a valid user into leaving their credentials into a form and then steal a resulting cookie from a redirect to the freeipa login page.

This affects all supported versions of IPA.

Comment 3 Sandipan Roy 2024-01-10 12:09:46 UTC
Created freeipa tracking bugs for this issue:

Affects: fedora-all [bug 2257646]

Comment 5 errata-xmlrpc 2024-01-10 12:26:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2024:0138 https://access.redhat.com/errata/RHSA-2024:0138

Comment 6 errata-xmlrpc 2024-01-10 12:27:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:0137 https://access.redhat.com/errata/RHSA-2024:0137

Comment 7 errata-xmlrpc 2024-01-10 13:10:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0139 https://access.redhat.com/errata/RHSA-2024:0139

Comment 8 errata-xmlrpc 2024-01-10 13:23:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:0141 https://access.redhat.com/errata/RHSA-2024:0141

Comment 9 errata-xmlrpc 2024-01-10 13:23:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2024:0145 https://access.redhat.com/errata/RHSA-2024:0145

Comment 10 errata-xmlrpc 2024-01-10 13:25:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.2 Telecommunications Update Service

Via RHSA-2024:0144 https://access.redhat.com/errata/RHSA-2024:0144

Comment 11 errata-xmlrpc 2024-01-10 13:29:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0142 https://access.redhat.com/errata/RHSA-2024:0142

Comment 12 errata-xmlrpc 2024-01-10 13:34:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0143 https://access.redhat.com/errata/RHSA-2024:0143

Comment 13 errata-xmlrpc 2024-01-10 13:44:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:0140 https://access.redhat.com/errata/RHSA-2024:0140

Comment 15 errata-xmlrpc 2024-01-15 15:46:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0252 https://access.redhat.com/errata/RHSA-2024:0252


Note You need to log in before you can comment on or make changes to this bug.