PT-2018-4714 · Csrf-Lite · Csrf-Lite

Twolfson

·

Published

2018-05-31

·

Updated

2019-10-09

·

CVE-2016-10535

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions csrf-lite versions prior to 0.1.2
Description The issue concerns a timing attack vulnerability due to the use of a fail-first string comparison instead of a constant-time comparison when testing CSRF tokens. This allows an attacker to guess the secret in significantly fewer attempts, specifically no more than (16*18)288 guesses, as opposed to the 16^18 guesses that would be required without the timing attack. The vulnerability removes the exponential increase in entropy gained from increased secret length by providing per-character feedback on the correctness of a guess via miniscule timing differences.
Recommendations Update to version 0.1.2 or later.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2016-10535
GHSA-HJHR-R3GQ-QVP6

Affected Products

Csrf-Lite