Files
CVEs-PoC/2018/CVE-2018-3728.md
T
2024-06-18 02:51:15 +02:00

25 lines
1.2 KiB
Markdown

### [CVE-2018-3728](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3728)
![](https://img.shields.io/static/v1?label=Product&message=hoek%20node%20module&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Modification%20of%20Assumed-Immutable%20Data%20(MAID)%20(CWE-471)&color=brighgreen)
### Description
hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.
### POC
#### Reference
- https://hackerone.com/reports/310439
- https://snyk.io/vuln/npm:hoek:20180212
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/fabric8-analytics/cvejob
- https://github.com/hangxingliu/node-cve
- https://github.com/jpb06/kubot-website
- https://github.com/ossf-cve-benchmark/CVE-2018-3728
- https://github.com/seal-community/patches
- https://github.com/splunk-soar-connectors/github