CVE-2018-1000125: Inversoft prime-jwt - Authentication Bypass
- Cve: CVE-2018-1000125
- Name: Inversoft prime-jwt - Authentication Bypass
- Description: inversoft prime-jwt version prior to version 1.3.0 or prior to commit 0d94dcef0133d699f21d217e922564adbb83a227 contains an input validation vulnerability in JWTDecoder.decode that can result in a JWT that is decoded and thus implicitly validated even if it lacks a valid signature. This attack appear to be exploitable via an attacker crafting a token with a valid header and body and then requests it to be validated. This vulnerability appears to have been fixed in 1.3.0 and later or after commit 0d94dcef0133d699f21d217e922564adbb83a227.
- Impact: Attackers can craft tokens that appear valid without a proper signature, potentially bypassing authentication and gaining unauthorized access.
- Remediation: Update to version 1.3.0 or later, or apply the fix after commit 0d94dcef0133d699f21d217e922564adbb83a227.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01366
- Epss percentile: 0.72554
- Assignee: [email protected]
- Published at: 2018-03-13T21:29:00Z
- Age in days: 3178
- Modified at: 2026-06-17T01:32:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1000125
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/inversoft/prime-jwt/blob/master/CHANGES | nvd | Release Notes, Third Party Advisory |
| https://github.com/inversoft/prime-jwt/issues/2 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| inversoft:prime-jwt | < 1.3.0 | no | nvd | /v1/products/inversoft/prime-jwt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| inversoft/prime-jwt | issues | yes | /v1/repositories/inversoft/prime-jwt |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts