title: Ipa: invalid csrf protection
description: 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.
problem types: Cross-Site Request Forgery (CSRF)
affected:
{
product: ipa
vendor: n/a
versions:
version: 4-11-1, status: unaffected
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ipa
defaultStatus: affected
versions:
version: 0:4.6.8-5.el7_9.16, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:enterprise_linux:7::computenode, cpe:/o:redhat:enterprise_linux:7::server, cpe:/o:redhat:enterprise_linux:7::workstation, cpe:/o:redhat:enterprise_linux:7::client]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8090020231201152514.3387e3d0, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:enterprise_linux:8::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Advanced Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8020020231123154806.792f4060, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.2::appstream, cpe:/a:redhat:rhel_tus:8.2::appstream, cpe:/a:redhat:rhel_aus:8.2::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8020020231123154806.792f4060, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.2::appstream, cpe:/a:redhat:rhel_tus:8.2::appstream, cpe:/a:redhat:rhel_aus:8.2::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8020020231123154806.792f4060, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.2::appstream, cpe:/a:redhat:rhel_tus:8.2::appstream, cpe:/a:redhat:rhel_aus:8.2::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8040020231123154610.5b01ab7e, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.4::appstream, cpe:/a:redhat:rhel_aus:8.4::appstream, cpe:/a:redhat:rhel_tus:8.4::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Telecommunications Update Service
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8040020231123154610.5b01ab7e, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.4::appstream, cpe:/a:redhat:rhel_aus:8.4::appstream, cpe:/a:redhat:rhel_tus:8.4::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8040020231123154610.5b01ab7e, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_e4s:8.4::appstream, cpe:/a:redhat:rhel_aus:8.4::appstream, cpe:/a:redhat:rhel_tus:8.4::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8060020231208020207.ada582f1, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:rhel_eus:8.6::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: krb5
defaultStatus: affected
versions:
version: 0:1.18.2-16.el8_6, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/o:redhat:rhel_eus:8.6::baseos
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:DL1
defaultStatus: affected
versions:
version: 8080020231201153604.b0a6ceea, lessThan: *, versionType: rpm, status: unaffected
cpe: cpe:/a:redhat:rhel_eus:8.8::appstream
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ipa
defaultStatus: affected
versions:
version: 0:4.10.2-5.el9_3, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:9::appstream, cpe:/a:redhat:enterprise_linux:9::crb]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ipa
defaultStatus: affected
versions:
version: 0:4.9.8-9.el9_0, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:9.0::crb, cpe:/a:redhat:rhel_eus:9.0::appstream]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9.2 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ipa
defaultStatus: affected
versions:
version: 0:4.10.1-10.el9_2, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:9.2::appstream, cpe:/a:redhat:rhel_eus:9.2::crb]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 6
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: ipa
defaultStatus: unknown
cpes: cpe:/o:redhat:enterprise_linux:6
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: idm:client/ipa
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: krb5
defaultStatus: affected
cpes: cpe:/o:redhat:enterprise_linux:8
}
{
product: Fedora
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: freeipa
defaultStatus: affected
}
metrics:
other: [
content: {'value': 'Moderate', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]
workarounds: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.