Insecure Password Matching and Brute-Force Vulnerability in 'Basic' HTTP Authentication

Insecure Password Matching and Brute-Force Vulnerability in 'Basic' HTTP Authentication

CVE-2021-43298 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The code that performs password matching when using 'Basic' HTTP authentication does not use a constant-time memcmp and has no rate-limiting. This means that an unauthenticated network attacker can brute-force the HTTP basic password, byte-by-byte, by recording the webserver's response time until the unauthorized (401) response.

Learn more about our Web App Pen Testing.