CVE-2026-8443
Beschrijving NL
De WP Review Slider Pro-plug-in voor WordPress is kwetsbaar voor SQL-injectie via de parameters 'stypes' en 'slocaties' van de wppro_get_overall_chart_data Ajax-actie in versies tot en met 12.6.8. Dit komt door het gebruik van stripslashes() op door de gebruiker geleverde JSON-strings voorafgaand aan json_decode(), waarmee het ontsnappen wordt verwijderd dat wordt toegepast door WordPress's wp_magic_quotes; de resulterende gedecodeerde array-waarden worden vervolgens rechtstreeks samengevoegd in SQL WAAR clausules zonder parametrering worden samengevoegd en de geconstrueerde query wordt uitgevoerd via $wpdb->get_results() zonder $wpdb->prepare(). Dit maakt het mogelijk voor geverifieerde aanvallers, met toegang op abonneeniveau en hoger, om extra SQL-query's toe te voegen aan reeds bestaande query's die kunnen worden gebruikt om gevoelige informatie uit de database te extraheren. De handler retourneert ook de uitgevoerde SQL-tekenreeks in zijn JSON-reactie, die de orakelconstructie vereenvoudigt voor blinde exploitatie.
Origineel (Engels) tonen
The WP Review Slider Pro plugin for WordPress is vulnerable to SQL Injection via the 'stypes' and 'slocations' parameters of the wppro_get_overall_chart_data AJAX action in versions up to, and including, 12.6.8. This is due to the use of stripslashes() on user-supplied JSON strings prior to json_decode(), which removes the escaping applied by WordPress's wp_magic_quotes; the resulting decoded array values are then concatenated directly into SQL WHERE clauses without parameterization, and the constructed query is executed via $wpdb->get_results() without $wpdb->prepare(). This makes it possible for authenticated attackers, with Subscriber-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 handler also returns the executed SQL string in its JSON response, which simplifies oracle construction for blind exploitation.