cve/2021/CVE-2021-24253.md

18 lines
897 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-24253](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24253)
![](https://img.shields.io/static/v1?label=Product&message=Classyfrieds&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.8%3C%3D%203.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-434%20Unrestricted%20Upload%20of%20File%20with%20Dangerous%20Type&color=brighgreen)
### Description
The Classyfrieds WordPress plugin through 3.8 does not properly check the uploaded file when an authenticated user adds a listing, only checking the content-type in the request. This allows any authenticated user to upload arbitrary PHP files via the Add Listing feature of the plugin, leading to RCE.
### POC
#### Reference
- https://wpscan.com/vulnerability/ee42c233-0ff6-4b27-a5ec-ad3246bef079
#### Github
- https://github.com/jinhuang1102/CVE-ID-Reports