Vulnerabilities · 2018 · Cisco
CVE-2018-0114
Cisco Node-jose vulnerability
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 products
Node-jose. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cisco Node-jose runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- tools.cisco.com/security/center/viewAlert.x?alertId=56326 · Patch
- www.securityfocus.com/bid/102445 · Third Party Advisory
- github.com/cisco/node-jose/blob/master/CHANGELOG.md · Third Party Advisory
- github.com/zi0Black/POC-CVE-2018-0114 · Exploit
- www.exploit-db.com/exploits/44324/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-0114
- cve.org/CVERecord?id=CVE-2018-0114
More vulnerabilities in Cisco products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.