{"id":"CVE-2018-0114","state":"PUBLISHED","title":"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 t","description":"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.","publishedAt":"2018-01-04T06:00:00.000Z","updatedAt":"2024-12-02T20:58:29.226Z","severity":null,"assigner":"cisco","products":["n/a Node-jose Library"],"affected":[{"vendor":"n/a","product":"Node-jose Library","versions":[{"version":"Node-jose Library","status":"affected"}]}],"references":["https://tools.cisco.com/security/center/viewAlert.x?alertId=56326","https://github.com/zi0Black/POC-CVE-2018-0114","https://github.com/cisco/node-jose/blob/master/CHANGELOG.md","https://www.exploit-db.com/exploits/44324/","http://www.securityfocus.com/bid/102445"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T19:44:03.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/0xxx/CVE-2018-0114.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-0114","state":"PUBLISHED","datePublished":"2018-01-04T06:00:00.000Z","dateUpdated":"2024-12-02T20:58:29.226Z","assignerShortName":"cisco","assignerOrgId":"d1c1063e-7a18-46af-9102-31f8928bc633","dateReserved":"2017-11-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"Node-jose Library","versions":[{"version":"Node-jose Library","status":"affected"}]}],"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/","name":"44324","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/102445","name":"102445","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"cisco","dateUpdated":"2018-03-28T09:57:01.000Z","orgId":"d1c1063e-7a18-46af-9102-31f8928bc633"},"datePublic":"2018-01-04T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"psirt@cisco.com","ID":"CVE-2018-0114","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Node-jose Library","version":{"version_data":[{"version_value":"Node-jose Library"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-347"}]}]},"references":{"reference_data":[{"name":"https://tools.cisco.com/security/center/viewAlert.x?alertId=56326","refsource":"CONFIRM","url":"https://tools.cisco.com/security/center/viewAlert.x?alertId=56326"},{"name":"https://github.com/zi0Black/POC-CVE-2018-0114","refsource":"MISC","url":"https://github.com/zi0Black/POC-CVE-2018-0114"},{"name":"https://github.com/cisco/node-jose/blob/master/CHANGELOG.md","refsource":"CONFIRM","url":"https://github.com/cisco/node-jose/blob/master/CHANGELOG.md"},{"name":"44324","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44324/"},{"name":"102445","refsource":"BID","url":"http://www.securityfocus.com/bid/102445"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://tools.cisco.com/security/center/viewAlert.x?alertId=56326","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/zi0Black/POC-CVE-2018-0114","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/cisco/node-jose/blob/master/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/44324/","name":"44324","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://www.securityfocus.com/bid/102445","name":"102445","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T03:14:16.809Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-02T20:54:27.427063Z","id":"CVE-2018-0114","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-02T20:58:29.226Z"}}]}}}