CVE-2021-32637

Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*
cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
References () https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda - Patch, Third Party Advisory () https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda - Patch, Third Party Advisory
References () https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6 - Exploit, Mitigation, Patch, Third Party Advisory () https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6 - Exploit, Mitigation, Patch, Third Party Advisory

09 Jun 2021, 16:36

Type Values Removed Values Added
References (CONFIRM) https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6 - (CONFIRM) https://github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6 - Exploit, Mitigation, Patch, Third Party Advisory
References (MISC) https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda - (MISC) https://github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1dda - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 10.0
CPE cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*

28 May 2021, 18:15

Type Values Removed Values Added
Summary Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block. Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block.
CWE CWE-287

28 May 2021, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-28 17:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32637

Mitre link : CVE-2021-32637

CVE.ORG link : CVE-2021-32637


JSON object : View

Products Affected

authelia

  • authelia
CWE
CWE-287

Improper Authentication