Total Tests:

SQL Injection Vulnerabilities in WP Forum Server

Advisory ID:HTB22850
Product:WP Forum Server
Vendor:VastHTML
Vulnerable Versions:1.6.5 and probably prior
Tested Version:1.6.5
Advisory Publication:February 10, 2011 [without technical details]
Vendor Notification:February 10, 2011
Public Disclosure:February 24, 2011
Vulnerability Type:SQL Injection [CWE-89]
CVE Reference:CVE-2011-1047
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 Server WordPress plugin which could be exploited to perform SQL injection attacks.

1) SQL injection vulnerabilities in WP Forum Server
1.1 The vulnerability exists due to input sanitation errors in the "topic" parameter in wp-content/plugins/forum-server/feed.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/forum-server/feed.php?topic=1%20union%20sel ect%20version%28%29%20--
1.2 The vulnerability exists due to input sanitation errors in the "search_max" parameter in index.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]&vasthtmlaction=search" method="post" name="main" >
<input type="hidden" name="search_words" value="123" />
<input type="hidden" name="search_submit" value="Search forums" />
<input type="hidden" name="search_user" value="*" />
<input type="hidden" name="search_min" value="0" />
<input type="hidden" name="search_max" value="9999 DAY) union select version(),2,3,4 -- " />
<input type="submit" value="search" name="submit" />
</form>

1.3 The vulnerability exists due to input sanitation errors in the "id" parameter in wp-content/plugins/forum-server/wpf-post.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]/?page_id=[page_id]&vasthtmlaction=editpost&id=-1%20union%20sel ect%201,version(),3,4,5, 6,7&t=2.0

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 the version 1.6.6
Edit the application source code to ensure that input is properly sanitised (for 2-3).

More information:
http://plugins.trac.wordpress.org/changeset/354688/forum-server/trunk/feed.php


References:
[1] High-Tech Bridge Advisory HTB22850 - https://www.immuniweb.com/advisory/HTB22850 - SQL Injection Vulnerabilities in WP Forum Server
[2] WP Forum Server - http://lucidcrew.com - WP Forum Server is a complete forum system for your wordpress blog.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] 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