cve/2017/CVE-2017-0901.md

19 lines
801 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-0901](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0901)
![](https://img.shields.io/static/v1?label=Product&message=RubyGems&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal'%26%23219%3B%26%23170%3B)%20(CWE-22)&color=brighgreen)
### Description
RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
### POC
#### Reference
- https://hackerone.com/reports/243156
- https://www.exploit-db.com/exploits/42611/
#### Github
- https://github.com/ARPSyndicate/cvemon