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
GamiPress <= 7.9.7 - Authenticated (Subscriber+) SQL Injection
Vulnerability Description
The GamiPress plugin for WordPress is vulnerable to authenticated (Subscriber+) SQL Injection via the 'q' parameter of the wpForo integration AJAX selector (action gamipress_wpforo_get_posts) in versions up to, and including, 7.9.7. The value is passed only through $wpdb->esc_like() and interpolated directly into a single-quoted LIKE clause with no %s placeholder. Because esc_like() runs after WordPress core magic quotes, it doubles the injected backslash (\' -> \\'), which MySQL reads as one literal backslash followed by a live closing quote, allowing the attacker to break out of the string and inject boolean-based SQL. The wpForo plugin only needs to be active to register the callback; no wpForo vulnerability is used. Requires a Subscriber account, which can read the gamipress_admin nonce (exposed on every admin page, e.g. /wp-admin/profile.php). Note: the researcher's Simple:Press vectors (PoC 2 & 3) do not reproduce in current code, which uses $wpdb->prepare() with %s placeholders; only the wpForo selector is confirmed.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
WordPress GamiPress SQL注入漏洞
Vulnerability Description
WordPress GamiPress是WordPress基金会开源的一款游戏化激励组件。 WordPress GamiPress 7.9.7及之前版本存在SQL注入漏洞,该漏洞源于wpForo集成AJAX选择器(action gamipress_wpforo_get_posts)中参数q经esc_like处理后直接拼接进单引号LIKE子句而未使用占位符,已认证的Subscriber及以上权限用户可突破字符串边界注入布尔型SQL,可能导致SQL注入。
CVSS Information
N/A
Vulnerability Type
N/A