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

20 lines
997 B
Markdown

### [CVE-2021-23772](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23772)
![](https://img.shields.io/static/v1?label=Product&message=github.com%2Fkataras%2Firis%2Fv12&color=blue)
![](https://img.shields.io/static/v1?label=Product&message=github.com%2Fkataras%2Firis&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20File%20Write&color=brighgreen)
### Description
This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170
#### Github
- https://github.com/Kirill89/Kirill89