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

18 lines
915 B
Markdown

### [CVE-2021-24846](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24846)
![](https://img.shields.io/static/v1?label=Product&message=Ni%20WooCommerce%20Custom%20Order%20Status&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.9.7%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brightgreen)
### Description
The get_query() function of the Ni WooCommerce Custom Order Status WordPress plugin before 1.9.7, used by the niwoocos_ajax AJAX action, available to all authenticated users, does not properly sanitise the sort parameter before using it in a SQL statement, leading to an SQL injection, exploitable by any authenticated users, such as subscriber
### POC
#### Reference
- https://wpscan.com/vulnerability/a1e7cd2b-8400-4c5d-8b47-a8ccd1e21675
#### Github
- https://github.com/20142995/nuclei-templates