CVE-2018-0114
mediumpriority · attend · 55EPSS 0.427 · 99 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
A vulnerability in the Cisco node-jose open source library before 0.11.0 could allow an unauthenticated, remote attacker to re-sign tokens using a key that is embedded within the token. The vulnerability is due to node-jose following the JSON Web Signature (JWS) standard for JSON Web Tokens (JWTs). This standard specifies that a JSON Web Key (JWK) representing a public key can be embedded within the header of a JWS. This public key is then trusted for verification. An attacker could exploit this by forging valid JWS objects by removing the original signature, adding a new public key to the header, and then signing the object using the (attacker-owned) private key associated with the public key embedded in that JWS header.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (15)
Public proof-of-concept and weaponised exploit code.
- EDB-44324Cisco node-jos < 0.11.0 - Re-sign TokensPoC · exploit_db
- Eremiel/CVE-2018-0114python2.7 script for JWT generationPoC · poc_in_github
- Logeirs/CVE-2018-0114Logeirs/CVE-2018-0114PoC · poc_in_github
- Pandora-research/CVE-2018-0114-ExploitPandora-research/CVE-2018-0114-ExploitPoC · poc_in_github
- Starry-lord/CVE-2018-0114Starry-lord/CVE-2018-0114PoC · poc_in_github
- adityathebe/POC-CVE-2018-0114POC for CVE-2018-0114 written in GoPoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-jfxm-w8g2-4rcvCisco node-jose improper validation of JWT signature2022-05-13ghsa · osvUS
A vulnerability in the Cisco node-jose open source library before 0.11.0 could allow an unauthenticated, remote attacker to re-sign tokens using a key that is embedded within the token. The vulnerability is due to node-jose following the JSON Web Signature (JWS) standard for JSON Web Tokens (JWTs). This standard specifies that a JSON Web Key (JWK) representing a public key can be embedded within the header of a JWS. This public key is then trusted for verification. An attacker could exploit this by forging valid JWS objects by removing the original signature, adding a new public key to the header, and then signing the object using the (attacker-owned) private key associated with the public key embedded in that JWS header.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/issue/WLB-2018030192cnnvd
- https://github.com/cisco/node-jose/blob/master/CHANGELOG.mdcnnvd
- https://github.com/zi0Black/POC-CVE-2018-0114cnnvd
- https://tools.cisco.com/security/center/viewAlert.x?alertId=56326cnnvd
- https://www.exploit-db.com/exploits/44324/cnnvd
- https://www.securityfocus.com/bid/102445cnnvd
- http://www.securityfocus.com/bid/102445enisa_euvd
- https://github.com/cisco/node-jose/blob/master/CHANGELOG.mdenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan