Advanced Order Export For WooCommerce <= 4.0.10 - Authenticated (Shop Manager+) SQL Injection via 'sort_direction' 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: no
- Technical impact: partial
Summary
The Advanced Order Export For WooCommerce plugin for WordPress is vulnerable to generic SQL Injection via the 'sort_direction' parameter in all versions up to, and including, 4.0.10 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 shop manager-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The endpoint requires a valid woe_nonce and Shop Manager-level capabilities (view_woocommerce_reports or export_woocommerce_orders), and wp_magic_quotes protection is stripped via stripslashes_deep() before processing, allowing quote and backslash characters to survive intact into the SQL context.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- algolplus Advanced Order Export For WooCommerce
through 4.0.10
References 14
plugins.trac.wordpress.org
- browser/woo-order-export-lite/tags/4.0.9/classes/core/class-wc-order-export-engine.php#L531
- browser/woo-order-export-lite/tags/4.0.9/classes/core/class-wc-order-export-engine.php#L537
- browser/woo-order-export-lite/tags/4.0.9/classes/core/class-wc-order-export-engine.php#L649
- browser/woo-order-export-lite/tags/4.0.9/classes/core/class-wc-order-export-engine.php#L378
- browser/woo-order-export-lite/tags/4.0.9/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php#L13
- browser/woo-order-export-lite/tags/4.0.9/classes/class-wc-order-export-admin.php#L550
- browser/woo-order-export-lite/tags/4.0.7/classes/core/class-wc-order-export-engine.php#L531
- browser/woo-order-export-lite/tags/4.0.7/classes/core/class-wc-order-export-engine.php#L537
- browser/woo-order-export-lite/tags/4.0.7/classes/core/class-wc-order-export-engine.php#L649
- browser/woo-order-export-lite/tags/4.0.7/classes/core/class-wc-order-export-engine.php#L378
- browser/woo-order-export-lite/tags/4.0.7/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php#L13
- browser/woo-order-export-lite/tags/4.0.7/classes/class-wc-order-export-admin.php#L550
- changeset?sfp_email=&sfph_mail=&reponame=&old=3564108%40woo-order-export-lite&new=3564108%40woo-order-export-lite&sfp_email=&sfph_mail=