Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Object Sync for Salesforce <= 2.2.13 - Unauthenticated SQL Injection
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
WordPress Object Sync for Salesforce SQL注入漏洞
Vulnerability Description
WordPress Object Sync for Salesforce是WordPress基金会开源的一款实现对象数据同步的CMS插件。 WordPress Object Sync for Salesforce 2.2.13及之前版本存在SQL注入漏洞,该漏洞源于wordpress_object_type参数被直接拼接到SQL查询中且未使用$wpdb->prepare()进行参数化处理,同时REST路由权限回调仅检查HTTP方法,可能导致未经身份验证的攻击者通过/wp-json/object-sync-
CVSS Information
N/A
Vulnerability Type
N/A