Vulnerability Details : CVE-2015-20110
JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken due to a string comparison that stops at the first character that is different. Attackers can guess tokens by brute forcing one character at a time and observing the timing. This of course drastically reduces the search space to a linear amount of guesses based on the token length times the possible characters.
Products affected by CVE-2015-20110
- cpe:2.3:a:jhipster:jhipster:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2015-20110
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2015-20110
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2015-20110
-
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.Assigned by: nvd@nist.gov (Primary)
References for CVE-2015-20110
-
https://github.com/jhipster/generator-jhipster/compare/v2.22.0...v2.23.0
Comparing v2.22.0...v2.23.0 · jhipster/generator-jhipster · GitHubPatch;Release Notes
-
https://github.com/jhipster/generator-jhipster/issues/2095
Security: TokenProvider vulnerable to timing attacks · Issue #2095 · jhipster/generator-jhipster · GitHubIssue Tracking;Patch;Vendor Advisory
-
https://github.com/jhipster/generator-jhipster/commit/79fe5626cb1bb80f9ac86cf46980748e65d2bdbc
fixed timing attack vulnerability in TokenProvider #2095 · jhipster/generator-jhipster@79fe562 · GitHubPatch
-
https://github.com/jhipster/generator-jhipster/commit/7c49ab3d45dc4921b831a2ca55fb1e2a2db1ee25
Merge pull request #2096 from maklemenz/tokenprovider-timingattack · jhipster/generator-jhipster@7c49ab3 · GitHubPatch
Jump to