{"id":"CVE-2018-0114","published":"2018-01-04T06:00:00Z","modified":"2024-12-02T20:58:29Z","title":"A vulnerability in the Cisco node-jose open source library before 0.11.0 could allow an unauthenticated, remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.42651,"percentile":0.98741,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://tools.cisco.com/security/center/viewAlert.x?alertId=56326","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zi0Black/POC-CVE-2018-0114","tags":["x_refsource_MISC"]},{"url":"https://github.com/cisco/node-jose/blob/master/CHANGELOG.md","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/44324/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/102445","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.75},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-03-20"},"pocGithub":{"count":10,"skipped":4,"earliest":"2018-03-20","earliestUrl":"https://github.com/zi0Black/POC-CVE-2018-0114","repos":[{"name":"z-bool/Venom-JWT","url":"https://github.com/z-bool/Venom-JWT","stars":287,"created":"2025-01-27"},{"name":"zi0Black/POC-CVE-2018-0114","url":"https://github.com/zi0Black/POC-CVE-2018-0114","stars":26,"created":"2018-03-20"},{"name":"j4k0m/CVE-2018-0114","url":"https://github.com/j4k0m/CVE-2018-0114","stars":4,"created":"2021-09-03"},{"name":"scumdestroy/CVE-2018-0114","url":"https://github.com/scumdestroy/CVE-2018-0114","stars":3,"created":"2021-05-11"},{"name":"Eremiel/CVE-2018-0114","url":"https://github.com/Eremiel/CVE-2018-0114","stars":2,"created":"2021-01-03"}]},"first":{"date":"2018-03-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44324"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Node-jose Library","versions":["Node-jose Library"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-02T20:54:27.427063Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-jose","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-jfxm-w8g2-4rcv"],"provenance":"source"}],"summary":{"text":"The Cisco node-jose open source library, before version 0.11.0, contains a flaw in how it verifies JSON Web Signatures for JSON Web Tokens: it trusts a public key embedded in the JWS header. An unauthenticated, remote attacker could exploit this by removing the original signature, embedding their own public key in the header, and signing the token with the matching attacker-owned private key to forge valid tokens.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:43Z"},"euvd":{"id":"EUVD-2022-4353","exploited":false,"provenance":"source"},"exploits":[{"id":44324,"url":"https://www.exploit-db.com/exploits/44324","title":"Cisco node-jos < 0.11.0 - Re-sign Tokens","date":"2018-03-20","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/44324/","https://github.com/zi0Black/POC-CVE-2018-0114","https://www.exploit-db.com/exploits/44324"]}