CVE-2022-3768 WPSmartContracts < 1.3.12 - Author+ SQLi
An attacker with author privileges can execute arbitrary SQL commands via unsanitized input in the WPSmartContracts plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-3768?
CVE-2022-3768 is a high-severity SQL injection vulnerability in Unknown WPSmartContracts, published on 28 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WPSmartContracts WordPress plugin before 1.3.12 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by users with a role as low as author
Weakness: CWE-89
Which versions are affected by CVE-2022-3768?
It affects 1 product.
Products include Wpsmartcontracts Wpsmartcontracts.
How do I fix CVE-2022-3768?
No fix has been published for CVE-2022-3768 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-3768 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3768 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-hgwc-78jr-63c3.