The code which checks HMAC in form submissions used String.equals() for comparisons, which results in a timing side channel for the compari…
The code which checks HMAC in form submissions used String.equals() for comparisons, which results in a timing side channel for the comparison of the HMAC signatures. This could lead to remote code execution if an attacker is able to determine the correct signature for their payload. The comparison should be done with a constant time algorithm instead.
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.
https://cwe.mitre.org/data/definitions/203.html →Open in CWE collection →An adversary discovers the structure, function, and composition of a type of computer software through black box analysis techniques. 'Black Box' methods involve interacting with the software indirectly, in the absence of direct access to the executable object. Such analysis typically involves interacting with the software at the boundaries of where the software interfaces with a larger execution environment, such as input-output vectors, libraries, or APIs. Black Box Reverse Engineering also refers to gathering physical side effects of a hardware device, such as electromagnetic radiation or sounds.
https://capec.mitre.org/data/definitions/189.html →Open in CAPEC collection →