Houzez Property Feed <= 2.5.46 - Authenticated (Administrator+) SQL Injection via 'orderby' 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 Houzez Property Feed plugin for WordPress is vulnerable to SQL Injection via the 'orderby' parameter in all versions up to, and including, 2.5.46 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the prepare_items() method of the Houzez_Property_Feed_Admin_Logs_Export_Table (and Houzez_Property_Feed_Admin_Logs_Import_Table) class. The user-controlled $_GET['orderby'] and $_GET['order'] values are filtered only with sanitize_text_field() and then concatenated into the SQL format string before $wpdb->prepare() is called — prepare() only parameterizes the appended LIMIT/OFFSET clause and cannot retroactively secure the already-tainted ORDER BY clause. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- propertyhive Houzez Property Feed
through 2.5.46
References 6
plugins.trac.wordpress.org
- browser/houzez-property-feed/tags/2.5.46/includes/class-houzez-property-feed-admin-logs-export-table.php#L219
- browser/houzez-property-feed/tags/2.5.46/includes/class-houzez-property-feed-admin-logs-export-table.php#L205
- browser/houzez-property-feed/tags/2.5.46/includes/class-houzez-property-feed-admin.php#L587
- browser/houzez-property-feed/tags/2.5.46/includes/class-houzez-property-feed-admin.php#L138
- changeset?sfp_email=&sfph_mail=&reponame=&old=3592406%40houzez-property-feed&new=3592406%40houzez-property-feed&sfp_email=&sfph_mail=