SecurityContext

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

IdName
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Hackerone

  • Reports: 2
  • Rank: 3806

Public exploits

UrlSourceAdded date
https://github.com/jhipster/generator-jhipster/issues/10401nvd2019-09-14
https://github.com/jhipster/jhipster-kotlin/issues/183nvd2019-09-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/jhipster/generator-jhipster/commit/88448b85fd3e8e49df103f0061359037c2c68ea7Patch, Third Party Advisory
https://www.jhipster.tech/2019/09/13/jhipster-release-6.3.0.htmlRelease Notes, Vendor Advisory
https://github.com/jhipster/generator-jhipster/issues/10401Exploit, Issue Tracking, Third Party Advisory
https://github.com/jhipster/jhipster-kotlin/issues/183Exploit, Issue Tracking, Third Party Advisory
https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-mwp6-j9wf-968cThird Party Advisory
https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd%40%3Cissues.commons.apache.org%3E
https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897%40%3Cissues.commons.apache.org%3E
https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9%40%3Cissues.commons.apache.org%3E

Products

ProductAffectedPlatform boundSourcesUrl
jhipster:jhipster< 6.3.0nonvd/v1/products/jhipster/jhipster
jhipster:jhipster_kotlin<= 1.1.0nonvd/v1/products/jhipster/jhipster_kotlin

Projects

RepositoryLink kindsIndexedUrl
jhipster/generator-jhipstercommit, issues, package, security_advisoryyes/v1/repositories/jhipster/generator-jhipster
jhipster/jhipster-kotlincommit, issues, security_advisoryyes/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