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

19 lines
796 B
Markdown

### [CVE-2013-4660](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4660)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.
### POC
#### Reference
- https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/
#### Github
- https://github.com/ContainerSolutions/node-hack
- https://github.com/lalyos/docker-security-course