Project

General

Profile

Actions

Bug #24691

closed

Disabled provisioned users can still login and use Rudder

Bug #24691: Disabled provisioned users can still login and use Rudder

Added by Clark ANDRIANASOLO over 2 years ago. Updated 13 days ago.

Status:
Released
Priority:
N/A
Category:
Security
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
122
Name check:
To do
Fix check:
Error - Fixed
Regression:
No

Description

When disabling a user from the user-management dashboard :
  • for users managed by file (in the rudder-users.xml file), they cannot login, their status is disabled in the database : OK
  • for users managed by OIDC or LDAP, their login is always allowed, even if their status is disabled in the database

We should not allow disabled provisioned users to have access to Rudder, their login should be refused


Subtasks 1 (0 open — 1 closed)

Bug #24749: Disabled LDAP users can still login and use RudderReleasedFrançois ARMANDActions

Related issues 2 (1 open — 1 closed)

Related to Rudder - User story #23440: Add users table to better track user and sessionsReleasedVincent MEMBRÉActions
Related to Rudder - Bug #24842: Trying to log with a disabled user lead to a stack traceNewClark ANDRIANASOLOActions

Updated by Clark ANDRIANASOLO over 2 years ago Actions #1

  • Related to User story #23440: Add users table to better track user and sessions added

Updated by Clark ANDRIANASOLO over 2 years ago Actions #2

  • Target version changed from 8.1 to 7.3

Updated by François ARMAND over 2 years ago Actions #3

  • Project changed from 77 to Rudder
  • Target version deleted (7.3)

This need to be corrected in rudder core, not authentication backend : that behavior must be independant from the authentication mean.

Updated by Clark ANDRIANASOLO over 2 years ago Actions #4

  • Category set to Security
  • Target version set to 7.3.14
  • User visibility changed from Operational - other Techniques | Rudder settings | Plugins to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Priority changed from 128 to 146

Updated by Clark ANDRIANASOLO over 2 years ago Actions #5

  • Status changed from New to In progress
  • Assignee set to Clark ANDRIANASOLO

Updated by Alexis Mousset over 2 years ago Actions #6

  • Private changed from No to Yes

Updated by Clark ANDRIANASOLO over 2 years ago Actions #7

  • Subject changed from Deleted and disabled users can still login and use Rudder to Deleted and disabled provisioned users can still login and use Rudder
  • Description updated (diff)

Updated by Clark ANDRIANASOLO over 2 years ago Actions #8

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5590

Updated by Clark ANDRIANASOLO over 2 years ago Actions #9

  • Subject changed from Deleted and disabled provisioned users can still login and use Rudder to Disabled provisioned users can still login and use Rudder
  • Description updated (diff)

Renaming this issue to only cover the case of "disabled" users.
For deleted ones, refer to #24694

Updated by Clark ANDRIANASOLO over 2 years ago Actions #11

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset over 2 years ago Actions #12

  • Fix check changed from To do to Error - Blocking

Updated by Clark ANDRIANASOLO over 2 years ago Actions #13

  • Subtask #24749 added

Updated by Alexis Mousset over 2 years ago Actions #14

  • Fix check changed from Error - Blocking to Error - Fixed

Updated by Vincent MEMBRÉ over 2 years ago Actions #15

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.14, 8.0.8 and 8.1.1 which were released today.

Updated by François ARMAND over 2 years ago Actions #16

  • Related to Bug #24842: Trying to log with a disabled user lead to a stack trace added

Updated by Alexis Mousset 13 days ago Actions #17

  • Private changed from Yes to No
  • Priority changed from 146 to 122
Actions

Also available in: PDF Atom