cve/2021/CVE-2021-24846.md
2024-06-18 02:51:15 +02:00

18 lines
912 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%3C%201.9.7%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brighgreen)
### 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
No PoCs found on GitHub currently.