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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-9153 PoC — Openpgp.js 数据伪造问题漏洞

Source
Associated Vulnerability
Title:Openpgp.js 数据伪造问题漏洞 (CVE-2019-9153)
Description:Openpgp.js是一个使用JavaScript实现的开源OpenPGP加密算法库。 OpenPGP.js 4.1.2及之前版本中存在数据伪造问题漏洞。该漏洞源于网络系统或产品未充分验证数据的来源或真实性。攻击者可利用伪造的数据进行攻击。
Description
investigate vulnerability of opgp-service to message signature bypass (CVE-2019-9153) of openpgp
Readme
CVE-2019-9153 vulnerability

* reproduce PoC based on setup from BSI
* investigate vulnerability of opgp-service API to such an attack

run tests with:
```bash
npm test
```

conclusion:
opgp-service is by default setup with `AEAD_protect=true`
which protects against the signature bypass attack described in CVE-2019-9153.

LICENSE: MIT
Copyright 2019 Stéphane M. Catala

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

File Snapshot

[4.0K] /data/pocs/ebc54ac2b88b5f6c279a744480051472c419d339 ├── [1.7K] index.html ├── [1.0K] LICENSE ├── [1.8K] package.json ├── [304K] package-lock.json ├── [1.4K] README.md └── [4.0K] spec ├── [2.4K] base64.js ├── [1.9K] browser.js ├── [3.6K] create_tampered_message.js ├── [3.3K] index.js ├── [ 586] message_signature_bypass.js └── [ 971] opgp-service_message_signature_bypass.js 1 directory, 11 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.