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

22 lines
1.5 KiB
Markdown

### [CVE-2021-4391](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4391)
![](https://img.shields.io/static/v1?label=Product&message=Ultimate%20Gift%20Cards%20for%20WooCommerce%20%E2%80%93%20Create%2C%20Redeem%20%26%20Manage%20Digital%20Gift%20Certificates%20with%20Personalized%20Templates&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 Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.1.1. This is due to missing or incorrect nonce validation on the mwb_wgm_save_post() function. This makes it possible for unauthenticated attackers to modify product gift card details 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