CVE-2026-6251
Beschrijving NL
De Chaty Pro plugin voor WordPress is kwetsbaar voor Authenticated Time-Based Blind SQL Injection in versies tot en met 3.5.5. Dit komt door de functie fetch_custom_field() in admin/class-admin-base.php die de parameter widget_id POST ophaalt via filter_input(INPUT_post, ...) en de waarde rechtstreeks samenvoegt tot een ruwe SQL-query in een numerieke context zonder $wpdb->prepare() of een geheel getal te gebruiken. Bovendien wordt de nonce-verificatiecontrole uitgevoerd nadat de SQL-query al is uitgevoerd, wat geen bescherming biedt tegen de injectie. Dit maakt het mogelijk voor geverifieerde aanvallers met toegang op abonneeniveau en hoger om willekeurige SQL-opdrachten te injecteren, wat mogelijk leidt tot ongeoorloofde extractie van gevoelige database-inhoud, inclusief gebruikersreferenties en configuratiegegevens.
Origineel (Engels) tonen
The Chaty Pro plugin for WordPress is vulnerable to Authenticated Time-Based Blind SQL Injection in versions up to and including 3.5.5. This is due to the fetch_custom_field() function in admin/class-admin-base.php retrieving the widget_id POST parameter via filter_input(INPUT_POST, ...) and directly concatenating the value into a raw SQL query in a numeric context without using $wpdb->prepare() or any integer casting. Additionally, the nonce verification check is performed after the SQL query has already executed, providing no protection against the injection. This makes it possible for authenticated attackers with subscriber-level access and above to inject arbitrary SQL commands, potentially leading to unauthorized extraction of sensitive database contents including user credentials and configuration data.