CVE-2026-6251
WordPress Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-6251 is an Authenticated Time-Based Blind SQL Injection vulnerability in the Chaty Pro plugin for WordPress, affecting versions up to and including 3.5.5. The flaw resides in the fetch_custom_field() function within admin/class-admin-base.php, where the widget_id POST parameter is directly concatenated into a raw SQL query without sanitization. It was published on July 28, 2026, with a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Wordfence).

Detalhes técnicos

The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The fetch_custom_field() function in admin/class-admin-base.php retrieves the widget_id POST parameter via filter_input(INPUT_POST, ...) and directly concatenates it into a raw SQL query in a numeric context, bypassing WordPress's $wpdb->prepare() mechanism and without applying integer casting. Critically, the nonce verification check is performed after the SQL query has already executed, rendering it ineffective as a security control. This allows any authenticated user with subscriber-level access or higher to submit a crafted POST request and perform time-based blind SQL injection (GitHub Advisory, Wordfence).

Impacto

Successful exploitation allows authenticated attackers with minimal privileges (subscriber-level or above) to extract sensitive data from the WordPress database, including user credentials (hashed passwords), email addresses, configuration data, and other stored content. The impact is limited to confidentiality — integrity and availability are not directly affected by this vulnerability. However, extracted credentials could enable privilege escalation or account takeover, potentially leading to full site compromise (GitHub Advisory, Wordfence).

Etapas de exploração

  1. Reconnaissance: Identify WordPress sites running the Chaty Pro plugin version 3.5.5 or earlier using tools like WPScan or by checking the plugin's readme.txt file at wp-content/plugins/chaty-pro/readme.txt.
  2. Obtain authenticated access: Register or obtain a subscriber-level (or higher) account on the target WordPress site.
  3. Identify the vulnerable endpoint: Locate the AJAX action or admin endpoint that invokes the fetch_custom_field() function in admin/class-admin-base.php.
  4. Craft the malicious payload: Construct a POST request targeting the vulnerable endpoint with a time-based blind SQL injection payload in the widget_id parameter (e.g., widget_id=1 AND SLEEP(5)--) to confirm injection.
  5. Extract data: Use automated tools such as sqlmap with session cookies to enumerate the database, extract the wp_users table (usernames, hashed passwords, emails), and retrieve other sensitive configuration data.
  6. Post-exploitation: Crack extracted password hashes offline or use extracted admin credentials to gain elevated access to the WordPress dashboard (GitHub Advisory, Wordfence).

Indicadores de compromisso

  • Network: Unusual POST requests to WordPress admin AJAX endpoints (e.g., wp-admin/admin-ajax.php) with widget_id parameter values containing SQL syntax such as SLEEP(), BENCHMARK(), AND 1=1, or -- comment sequences.
  • Logs: WordPress or web server access logs showing repeated requests to the Chaty Pro admin endpoint with abnormal widget_id values; requests exhibiting consistent time delays (e.g., 5-second response intervals) indicative of time-based blind injection.
  • Database: Unexpected or high-volume database query activity originating from the WordPress application user, particularly queries involving SLEEP() or conditional time-delay functions in the context of Chaty Pro tables.
  • Process: Elevated database CPU usage or query execution times inconsistent with normal plugin activity.

Mitigação e soluções alternativas

Update the Chaty Pro plugin to a version newer than 3.5.5, which addresses this vulnerability by implementing proper parameterized queries. As interim mitigations, site administrators should use $wpdb->prepare() for all database operations, enforce integer casting on numeric parameters, and ensure nonce verification occurs before any database queries execute. Restricting user registration or limiting subscriber-level access on sites where it is not required will also reduce the attack surface (GitHub Advisory, Wordfence).

Reações da comunidade

The vulnerability was assigned and disclosed by Wordfence, a leading WordPress security firm, and published to the GitHub Advisory Database on July 28, 2026. No significant broader media coverage or notable researcher commentary beyond the initial advisory has been observed at this time (Wordfence, GitHub Advisory).

Recursos adicionais


OrigemEste relatório foi gerado usando IA

Relacionado WordPress Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-6251NONEN/A
  • chaty-pro
NãoSimJul 28, 2026
CVE-2026-16811NONEN/A
  • woolentor-addons
NãoSimJul 28, 2026
CVE-2026-16797NONEN/A
  • woolentor-addons
NãoSimJul 28, 2026
CVE-2026-16587NONEN/A
  • advanced-form-integration
NãoSimJul 28, 2026
CVE-2026-16585NONEN/A
  • bp-better-messages
NãoSimJul 28, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades