CVE-2021-45890
Description
basic/BasicAuthProvider.java in AuthGuard before 0.9.0 allows authentication via an inactive identifier.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
AuthGuard before 0.9.0 allows authentication with inactive user identifiers due to missing validation in BasicAuthProvider.
Vulnerability
The vulnerability resides in basic/BasicAuthProvider.java in AuthGuard versions before 0.9.0. The verifyCredentialsAndGetAccount method did not check whether the identifier (e.g., username) is active before proceeding with password verification. This allowed authentication using an inactive identifier, effectively bypassing account deactivation. [1][2][3][4]
Exploitation
An attacker needs to know an inactive username and its corresponding password (or no password for the no-password authentication flow). The attacker can send an authentication request with the inactive username and valid password; the server will accept it and return a session or token, granting access as that user. [1][4]
Impact
Successful exploitation grants the attacker the same privileges as the inactive user. This could lead to unauthorized access to resources, data disclosure, or actions performed under that user's identity. The severity depends on the permissions assigned to the inactive account. [1][4]
Mitigation
The issue is fixed in AuthGuard version 0.9.0, released on 2021-12-27. The fix adds a call to checkIdentifier in both password and no-password authentication paths, which rejects inactive identifiers. Users should upgrade to 0.9.0 or later. No workaround is available for earlier versions. [1][2][3]
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- AuthGuard/AuthGuarddescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/AuthGuard/AuthGuard/commit/9783b1143da6576028de23e15a1f198b1f937b82mitrex_refsource_MISC
- github.com/AuthGuard/AuthGuard/compare/v0.8.0...v0.9.0mitrex_refsource_MISC
- github.com/AuthGuard/AuthGuard/issues/166mitrex_refsource_MISC
- github.com/AuthGuard/AuthGuard/pull/181mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.