Files
CVEs-PoC/2021/CVE-2021-24537.md
T
2025-09-29 21:09:30 +02:00

18 lines
961 B
Markdown

### [CVE-2021-24537](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24537)
![](https://img.shields.io/static/v1?label=Product&message=Similar%20Posts%20%E2%80%93%20Best%20Related%20Posts%20Plugin%20for%20WordPress&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.1.5%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brightgreen)
### Description
The Similar Posts WordPress plugin through 3.1.5 allow high privilege users to execute arbitrary PHP code in an hardened environment (ie with DISALLOW_FILE_EDIT, DISALLOW_FILE_MODS and DISALLOW_UNFILTERED_HTML set to true) via the 'widget_rrm_similar_posts_condition' widget setting of the plugin.
### POC
#### Reference
- https://wpscan.com/vulnerability/0d6b46cb-5244-486f-ad70-4023907ac9eb
#### Github
- https://github.com/20142995/nuclei-templates