Description
The Object Sync for Salesforce plugin is vulnerable to unauthenticated SQL Injection via the wordpress_object_type parameter of its /wp-json/object-sync-for-salesforce/push/ REST route. The route's permission callback (can_process()) checks only the HTTP method for the push class — no capability or nonce — so it is reachable by unauthenticated users. The wordpress_object_type value is concatenated directly into a SQL query (post_type = "$object_type", class-object-sync-sf-wordpress.php:328) and executed via $wpdb->get_results() with no $wpdb->prepare() (:578). Because REST body parameters are not magic-quoted, an attacker can break out of the quoted string and inject arbitrary SQL. This makes it possible for unauthenticated attackers to append additional SQL queries (time-based blind), enabling extraction of sensitive information such as password hashes from the database. Only a valid wordpress_id (e.g. 1) is required — no authentication or Salesforce connection.
Published: 2026-08-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Object Sync for Salesforce plugin exposes an unauthenticated SQL injection vulnerability through the wordpress_object_type parameter on the /wp-json/object-sync-for-salesforce/push/ REST route. The permission callback validates only the HTTP method, allowing anyone to reach the endpoint without credentials or a nonce. The plugin concatenates the received object type directly into a SQL query that is executed via $wpdb->get_results() without preparation, enabling an attacker to terminate the quoted string and inject arbitrary SQL. This can lead to time‑based blind exploitation and extraction of sensitive data such as password hashes from the database, with only a valid WordPress ID required.

Affected Systems

Affected is the WordPress plugin Object Sync for Salesforce from minnpost, versions 2.2.13 and earlier. The plugin is deployed on any WordPress site that uses the push REST route.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. EPSS is not available, so the exploitation probability cannot be quantified, but the vulnerability is listed as not in the CISA KEV catalog. Because no authentication is required, an attacker only needs to send a crafted POST request to the exposed REST endpoint, which is reachable from the public internet. The ability to extract password hashes or other sensitive data makes this a serious risk for sites with exposed MySQL databases.

Generated by OpenCVE AI on August 15, 2026 at 03:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Object Sync for Salesforce plugin to a version newer than 2.2.13 that fixes the SQL injection flaw.
  • If an immediate upgrade is not possible, add an authentication or nonce check to the push endpoint (e.g., modify the plugin’s permission callback to require a specific capability such as "manage_options").
  • Deploy a web application firewall or configure ModSecurity rules to block SQL injection patterns on the /wp-json/object-sync-for-salesforce/push/ URL.

Generated by OpenCVE AI on August 15, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Description The Object Sync for Salesforce plugin is vulnerable to unauthenticated SQL Injection via the wordpress_object_type parameter of its /wp-json/object-sync-for-salesforce/push/ REST route. The route's permission callback (can_process()) checks only the HTTP method for the push class — no capability or nonce — so it is reachable by unauthenticated users. The wordpress_object_type value is concatenated directly into a SQL query (post_type = "$object_type", class-object-sync-sf-wordpress.php:328) and executed via $wpdb->get_results() with no $wpdb->prepare() (:578). Because REST body parameters are not magic-quoted, an attacker can break out of the quoted string and inject arbitrary SQL. This makes it possible for unauthenticated attackers to append additional SQL queries (time-based blind), enabling extraction of sensitive information such as password hashes from the database. Only a valid wordpress_id (e.g. 1) is required — no authentication or Salesforce connection.
Title Object Sync for Salesforce <= 2.2.13 - Unauthenticated SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-15T02:26:16.488Z

Reserved: 2026-07-08T20:33:19.021Z

Link: CVE-2026-15162

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T03:16:47.523

Modified: 2026-08-15T03:16:47.523

Link: CVE-2026-15162

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T03:30:01Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')