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

09 Jun 2021, 16:36

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 10.0
CPE cpe:2.3:a:authelia:authelia:*:*:*:*:*:*:*:*
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

28 May 2021, 18:15

Type Values Removed Values Added
CWE CWE-287
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.

28 May 2021, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-28 17:15

Updated : 2024-02-04 21:47


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