Vitepos <= 3.5.1 - Unauthenticated SQL Injection via 'src_by' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The Vitepos – Point of Sale (POS) for WooCommerce plugin for WordPress is vulnerable to generic SQL Injection via the 'src_by' parameter in all versions up to, and including, 3.5.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This makes it possible for unauthenticated attackers, or authenticated attackers holding any POS role (such as vtpos-cashier), to exploit the vulnerability, as the /vitepos/v1/vendor/list REST route's permission callback requires only a POS role assignment rather than any elevated WordPress capability.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- appsbd Vitepos – Point of Sale (POS) for WooCommerce
through 3.5.1
References 7
plugins.trac.wordpress.org
- browser/vitepos-lite/tags/3.5.1/vendor/appsbd-wp/appsbd-lite/appsbd_lite/v5/core/class-querybuilder.php#L150
- browser/vitepos-lite/tags/3.5.1/vitepos_lite/api/v1/class-pos-vendor-api.php#L79
- browser/vitepos-lite/tags/3.5.1/vendor/appsbd-wp/appsbd-lite/appsbd_lite/v5/core/class-basemodel.php#L2877
- browser/vitepos-lite/tags/3.5.1/vendor/appsbd-wp/appsbd-lite/appsbd_lite/v5/core/class-basemodel.php#L741
- browser/vitepos-lite/tags/3.5.1/vitepos_lite/api/v1/class-pos-vendor-api.php#L64
- changeset?reponame=&old=3700375%40vitepos-lite&new=3700375%40vitepos-lite