Description
The wpForo Forum plugin for WordPress is vulnerable to error‐based or time-based SQL Injection via the get_members() function in all versions up to, and including, 2.4.8 due to missing integer validation on the 'offset' and 'row_count' parameters. The function blindly interpolates 'row_count' into a 'LIMIT offset,row_count' clause using esc_sql() rather than enforcing numeric values. MySQL 5.x’s grammar allows a 'PROCEDURE ANALYSE' clause immediately after a LIMIT clause. Unauthenticated attackers controlling 'row_count' can append a stored‐procedure call, enabling error‐based or time‐based blind SQL injection that can be used to extract sensitive information from the database.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
tomdever wpForo Forum
Default version status: unaffected
0 to ≤ 2.4.8affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/bc406e8a-c4eb-45c3-a53c-37644e0dabfa?source=cve ↗
- https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.5/classes/Members.php#L1557 ↗
- https://wordpress.org/plugins/wpforo/#developers ↗
- https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.9/classes/Members.php#L1557 ↗