Files
CVEs-PoC/2021/CVE-2021-24511.md
T
2024-05-25 21:48:12 +02:00

19 lines
987 B
Markdown

### [CVE-2021-24511](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24511)
![](https://img.shields.io/static/v1?label=Product&message=Product%20Feed%20on%20WooCommerce%20for%20Google%2C%20Awin%2C%20Shareasale%2C%20Bing%2C%20and%20More&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.3.1.0%3C%203.3.1.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brighgreen)
### Description
The fetch_product_ajax functionality in the Product Feed on WooCommerce WordPress plugin before 3.3.1.0 uses a `product_id` POST parameter which is not properly sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.
### POC
#### Reference
- https://codevigilant.com/disclosure/2021/wp-plugin-purple-xmls-google-product-feed-for-woocommerce/
- https://wpscan.com/vulnerability/0fa114a0-29df-4312-9138-eb9f0aedb3c5
#### Github
No PoCs found on GitHub currently.