CVE-2019-16303: JHipster - Authentication Bypass
- Cve: CVE-2019-16303
- Name: JHipster - Authentication Bypass
- Description: A class generated by the Generator in JHipster before 6.3.0 and JHipster Kotlin through 1.1.0 produces code that uses an insecure source of randomness (apache.commons.lang3 RandomStringUtils). This allows an attacker (if able to obtain their own password reset URL) to compute the value for all other password resets for other accounts, thus allowing privilege escalation or account takeover.
- Impact: Attackers can predict password reset tokens, leading to privilege escalation or account takeover.
- Remediation: Update to a version this CVE does not affect; its products list the affected version ranges.
- Vulnerability type: weak_cryptography
- Vulnerability impact: privilege_escalation
- Requirement type: user_interaction
- Requirements: Attacker needs to obtain their own password reset URL
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03673
- Epss percentile: 0.89945
- Assignee: [email protected]
- Published at: 2019-09-14T00:15:10Z
- Age in days: 2628
- Modified at: 2026-06-17T02:22:05Z
- Patch available: yes
- Public exploits total: 2
- References total: 8
- Products total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-16303
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/jhipster/generator-jhipster/issues/10401 | nvd | 2019-09-14 |
| https://github.com/jhipster/jhipster-kotlin/issues/183 | nvd | 2019-09-14 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jhipster:jhipster | < 6.3.0 | no | nvd | /v1/products/jhipster/jhipster |
| jhipster:jhipster_kotlin | <= 1.1.0 | no | nvd | /v1/products/jhipster/jhipster_kotlin |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jhipster/generator-jhipster | commit, issues, package, security_advisory | yes | /v1/repositories/jhipster/generator-jhipster |
| jhipster/jhipster-kotlin | commit, issues, security_advisory | yes | /v1/repositories/jhipster/jhipster-kotlin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2019-09-14
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 5319
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since