Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-0114 PoC — Cisco node-jose open source library 数据伪造问题漏洞

Source
Associated Vulnerability
Title:Cisco node-jose open source library 数据伪造问题漏洞 (CVE-2018-0114)
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.
Description
POC for CVE-2018-0114 written in Go
Readme
# CVE-2018-0114 POC

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.

https://nvd.nist.gov/vuln/detail/CVE-2018-0114

## Usage

```bash
go run main.go -payload admin
```

## References

https://openid.net/specs/draft-jones-json-web-key-03.html#anchor8

![](https://raw.githubusercontent.com/adityathebe/POC-CVE-2018-0114/master/rsa-specification.png)
File Snapshot

[4.0K] /data/pocs/04256bb9a65f0d3acd5705bf0fb793ab535b990e ├── [3.1K] main.go ├── [1.0K] README.md └── [ 61K] rsa-specification.png 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →