CVE-2022-51021
NotificationX plugin for WordPress 2.0.0 before 2.3.12 contains an …
NotificationX plugin for WordPress 2.0.0 before 2.3.12 contains an unauthenticated SQL injection vulnerability that allows remote attackers to manipulate database queries by supplying an array-form 'id' parameter to /wp-json/notificationx/v1/notification/{id}. Attackers can pass id[1] with crafted SQL, such as time-based SLEEP payloads, along with an api_key derived from md5(home_url()), which flows unsanitized into Database::get_where_query to extract database contents. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/noti
- wordpress.org/plugins/notificationx/
- wpscan.com/vulnerability/d1480717-726d-4be2-95cb-1007a3f010bb
- www.vulncheck.com/advisories/notificationx-wordpress-plugin-2.3.12-unauthenticated-sql-inj
- nvd.nist.gov/vuln/detail/CVE-2022-51021
- cve.org/CVERecord?id=CVE-2022-51021
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.