CVE-2026-137578 in FacturaONE Plugininfo

Summary

by MITRE • 11/26/2026

FacturaONE para WooCommerce con VeriFactu before 5.61 contains an authenticated SQL injection vulnerability that allows Contributor-level users to inject SQL through the fone_client_id user meta value. Attackers can store a payload in their own profile via FONE_update_tarifa_user(), which FONE_product_ids_ocultos_para_usuario() concatenates unquoted, enabling time-based blind extraction of password hashes.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in FacturaONE para WooCommerce with VeriFactu prior to version 5.61 represents a significant security flaw within the WordPress ecosystem, specifically targeting authenticated users with Contributor-level permissions or lower. This SQL injection vulnerability arises from improper input validation and sanitization practices when handling user metadata. The core technical issue lies in how the plugin processes the fone_client_id meta value associated with a user's profile. When this data is retrieved for internal operations, it is concatenated directly into an SQL query string without proper quoting or parameterized queries. This lack of escaping allows any authenticated user to manipulate the structure of the database command executed by the application backend.

The attack vector leverages two specific functions within the plugin: FONE_update_tarifa_user and FONE_product_ids_ocultos_para_usuario. An attacker begins by updating their own profile metadata, specifically setting the fone_client_id field to a malicious payload using the FONE_update_tarifa_user function. This action stores the crafted input in the WordPress user meta table. Subsequently, when the system needs to determine which product IDs are hidden for that specific user, it invokes the FONE_product_ids_ocultos_para_usuario function. During this process, the previously stored fone_client_id value is retrieved and concatenated directly into an SQL statement without sanitization. Because the input is not properly quoted or escaped, the database interprets parts of the payload as executable SQL code rather than literal data values.

The operational impact of this vulnerability is severe due to its potential for data exfiltration through time-based blind techniques. Although the attacker only has Contributor-level access, which typically restricts many administrative actions, the ability to inject SQL allows them to bypass these restrictions at the database layer. By carefully crafting payloads that induce measurable delays in query execution based on conditional logic, an attacker can perform a time-based blind extraction of sensitive information from the database. This method is particularly dangerous because it does not require direct output display; instead, it relies on observing response times or server behavior to deduce data character by character. The primary target for such attacks is often the password hashes stored in the wp_users table, which can be cracked offline if they are weakly hashed or if additional salts are predictable.

This vulnerability aligns with CWE-89, Improper Neutralization of Special Elements used in an SQL Command, commonly known as SQL Injection. The specific exploitation technique described falls under ATT&CK T1053, Scheduled Task/Job, and more specifically relates to data exfiltration methods such as T1048, which covers Exfiltration Over Alternative Protocol or timing-based side channels. In the context of WordPress plugins, this also reflects CWE-209, Generation of Error Message Containing Sensitive Information, if error logs are accessible, though the primary concern here is the blind extraction capability. The flaw highlights a common pattern in plugin development where user-supplied data from profile fields is assumed to be safe because it originates from an authenticated session, ignoring that even low-privileged users can modify their own metadata and trigger backend processing functions that fail to validate this input adequately.

Mitigation strategies must focus on immediate patching and defensive coding practices. The most effective solution is to upgrade the FacturaONE plugin to version 5.61 or later, where the developers have presumably addressed these sanitization issues. For organizations unable to update immediately due to compatibility constraints, implementing a Web Application Firewall (WAF) with rules specifically tuned for SQL injection patterns can provide temporary protection by blocking malicious payloads before they reach the application logic. Additionally, database-level monitoring should be enhanced to detect unusual query execution times or anomalous SELECT statements originating from low-privileged user accounts. Developers must ensure that all dynamic data inserted into SQL queries is either parameterized using prepared statements or strictly escaped using appropriate functions like wpdb->prepare() in WordPress environments. Regular security audits of third-party plugins are essential to identify similar patterns where metadata inputs are used directly in database operations without sufficient validation.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00541

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!