PT-2026-72143 · WordPress · Object Sync For Salesforce
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Object Sync for Salesforce versions prior to 2.2.14
Description
An unauthenticated SQL Injection exists in the
/wp-json/object-sync-for-salesforce/push/ REST endpoint. The issue occurs because the can process() permission callback only verifies the HTTP method and fails to check for user capabilities or nonces. The wordpress object type parameter is concatenated directly into a SQL query within the class-object-sync-sf-wordpress.php file and executed via $wpdb->get results() without using $wpdb->prepare(). Since REST body parameters are not magic-quoted, an attacker can inject arbitrary SQL, including time-based blind queries, to extract sensitive data such as password hashes from the database. This exploitation requires only a valid wordpress id and does not require authentication or a Salesforce connection.Recommendations
Update Object Sync for Salesforce to version 2.2.14 or later.
As a temporary workaround, restrict access to the
/wp-json/object-sync-for-salesforce/push/ REST endpoint to minimize the risk of exploitation.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Object Sync For Salesforce