Bug 1509468

Summary: ipa: Incorrect behavior of Two factor authentication for Authn/TOTP defined users
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abokovoy, frenaud, ftrivino, ipa-maint, jhrozek, pvoborni, rcritten, ssorce, tscherf
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa 4.8.0, freeipa-4.7.1, freeipa-4.6.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-24 08:07:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1509469    
Bug Blocks: 1509470    

Description Pedro Sampaio 2017-11-03 20:59:19 UTC
A flaw was found in ipa where the two-factor authentication is not properly enforced for Authn/TOTP defined users.

Reference(s):

https://bugzilla.redhat.com/show_bug.cgi?id=1508498

Upstream bug:

https://pagure.io/freeipa/issue/7262

Comment 1 Pedro Sampaio 2017-11-03 20:59:58 UTC
Created freeipa tracking bugs for this issue:

Affects: fedora-all [bug 1509469]

Comment 2 Cedric Buissart 2021-05-24 08:07:25 UTC
Not considered a security flaw : 
From the description, if an user is hammering too much against ipa-otpd, it may crash. This forces users to re-authenticate (using their password only, not 2nd factor).

Status:
Upstream fixes for master : 
https://pagure.io/freeipa/c/a2e8d98
https://pagure.io/freeipa/c/fe65008
https://pagure.io/freeipa/c/ab63668 (tests only)

fixed in : 
- freeipa 4.5 latest (not tagged release)
- freeipa 4.6.5
- freeipa 4.7.1
- freeipa 4.8.0

All versions of freeipa shipped in RHEL-8 and latest version of RHEL-7 are fixed.