CVE-2023-6981 WP SMS <= 6.5 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site Scripting
Authenticated attackers can exploit SQL injection in WP SMS plugin to extract database information and achieve reflected cross-site scripting.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-6981?
CVE-2023-6981 is a medium-severity SQL injection vulnerability in veronalabs WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The WP SMS – Messaging & SMS Notification for WordPress, WooCommerce, GravityForms, etc plugin for WordPress is vulnerable to SQL Injection via the 'group_id' parameter in all versions up to, and including, 6.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This can leveraged to achieve Reflected Cross-site Scripting.
Weakness: CWE-89
Which versions are affected by CVE-2023-6981?
It affects 1 product.
Products include Veronalabs Wp Sms.
How do I fix CVE-2023-6981?
No fix has been published for CVE-2023-6981 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-2023-6981 being exploited?
There is no known exploitation of CVE-2023-6981 in the wild and no public exploit code.
Other vulnerabilities in veronalabs WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce
- CVE-2024-24881 WordPress WP SMS Plugin <= 6.5.2 is vulnerable to Cross Site Scripting (XSS)
- CVE-2023-32742 WordPress WP SMS Plugin <= 6.1.4 is vulnerable to Cross Site Scripting (XSS)
- CVE-2024-25920 WordPress WP SMS plugin <= 6.3.4 - Cross Site Scripting (XSS) vulnerability
- CVE-2024-34811 WordPress WP SMS plugin <= 6.5.1 - Cross Site Scripting (XSS) vulnerability
- CVE-2021-24561 WP SMS < 5.4.13 - Authenticated Stored Cross-Site Scripting
Sources
Also known as GHSA-q2g5-wh6f-x8q9.