Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

SQL Injection Vulnerabilities in WP Forum wordpress plugin

Advisory ID:HTB22859
Product:WP Forum wordpress plugin
Vendor:Fredrik Fahlstad
Vulnerable Versions:1.7.8 and probably prior
Tested Version:1.7.8
Advisory Publication:February 15, 2011 [without technical details]
Vendor Notification:February 15, 2011
Public Disclosure:March 1, 2011
Vulnerability Type:SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Score:7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in WP Forum wordpress plugin which could be exploited to perform SQL injection attacks.

1) SQL injection vulnerabilities in WP Forum wordpress plugin
1.1 The vulnerability exists due to input sanitation error in the "id" parameter in wp-content/plugins/wpforum/sendmail.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
http://[host]/wp-content/plugins/wpforum/sendmail.php?action=quote&id=1%20un ion%20select%20version() ,2,3%20--%20
1.2 The vulnerability exists due to input sanitation error in the "group_id" parameter in wp-content/plugins/wpforum/wp-forum.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
<form action="http://[host]/?page_id=[page_id]&forumaction=grlogin_submit" method="post" name="main" >
<input type="hidden" name="group_id" value="SQL_CODE_HERE" />
<input type="submit" value="submit" name="submit" />
</form>

How to Detect SQL Injection Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to WP Forum version 2.4

More Information:
http://fahlstad.se/wordpress/plugins/wp-forum/


References:
[1] High-Tech Bridge Advisory HTB22859 - https://www.immuniweb.com/advisory/HTB22859 - SQL Injection Vulnerabilities in WP Forum wordpress plugin
[2] WP Forum wordpress plugin - fahlstad.se - WP Forum is a WordPress plugin that enables you to have a forum directly attached to your WordPress installation
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential