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

22 lines
1.4 KiB
Markdown

### [CVE-2021-4401](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4401)
![](https://img.shields.io/static/v1?label=Product&message=Style%20Kits%20%E2%80%93%20Advanced%20Theme%20Styles%20for%20Elementor&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=*%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brightgreen)
### Description
The Style Kits plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.8.0. This is due to missing or incorrect nonce validation on the update_posts_stylekit() function. This makes it possible for unauthenticated attackers to update style kits for posts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
### POC
#### Reference
- https://blog.nintechnet.com/more-wordpress-plugins-and-themes-vulnerable-to-csrf-attacks/
- https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-1/
- https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-2/
- https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-4/
- https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-5/
#### Github
- https://github.com/20142995/nuclei-templates