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

18 lines
853 B
Markdown

### [CVE-2021-24840](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24840)
![](https://img.shields.io/static/v1?label=Product&message=Squaretype&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.0.4%3C%203.0.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-639%20Authorization%20Bypass%20Through%20User-Controlled%20Key&color=brighgreen)
### Description
The Squaretype WordPress theme before 3.0.4 allows unauthenticated users to manipulate the query_vars used to retrieve the posts to display in one of its REST endpoint, without any validation. As a result, private and scheduled posts could be retrieved via a crafted request.
### POC
#### Reference
- https://wpscan.com/vulnerability/971302fd-4e8b-4c6a-818f-3a42c7fb83ef
#### Github
No PoCs found on GitHub currently.