Multiple Vulnerabilities in Ajax Category Dropdown
Advisory ID: | HTB22947 |
Product: | Ajax Category Dropdown |
Vendor: | http://www.dyasonhat.com/ |
Vulnerable Versions: | 0.1.5 and probably prior |
Tested Version: | 0.1.5 |
Advisory Publication: | April 7, 2011 [without technical details] |
Vendor Notification: | April 7, 2011 |
Public Disclosure: | April 21, 2011 |
Vulnerability Type: | Cross-Site Scripting [CWE-79] SQL Injection [CWE-89] |
Risk Level: | High |
| |
CVSSv2 Base Scores: | 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N) 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) |
Discovered and Provided: | High-Tech Bridge Security Research Lab |
Advisory Details: |
High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Ajax Category Dropdown WordPress plugin which could be exploited to perform cross-site scripting and SQL injection attacks.
1) Cross-site scripting (XSS) vulnerability in Ajax Category Dropdown The vulnerability exists due to input sanitation error in the "category_id" parameter in wp-content/plugins/ajax-category-dropdown/includes/dhat-ajax-cat-dropdown-request.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. Exploitation example: http://[host]/wp-content/plugins/ajax-category-dropdown/includes/dhat-ajax-c at-dropdown-request.php? admin&category_id=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
2) SQL injection vulnerabilities in Ajax Category Dropdown The vulnerability exists due to input sanitation errors in the "category_id" and "cat_id" parameters in wp-content/plugins/ajax-category-dropdown/includes/dhat-ajax-cat-dropdown-request.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 examples: http://[host]/wp-content/plugins/ajax-category-dropdown/includes/dhat-ajax-c at-dropdown-request.php? savepostcat&post_id=1&category_id=SQL_CODE_HERE http://[host]/wp-content/pl ugins/ajax-category-drop down/includes/dhat-ajax-cat-dropdown-request.php?get_form_countries&cat_id=S QL_CODE_HERE http://[ho st]/wp-content/plugins/ajax-category-dropdown/includes/dhat-ajax-cat-dropdow n-request.php?admin&cate gory_level=2&category_id=1%20union%20select%201,user%28%29,3,4,5,6,7,8,9,ver sion%28%29%20--%201 |
- GDPR & PCI DSS Test
- Website CMS Security Test
- CSP & HTTP Headers Check
- WordPress & Drupal Scanning
Try For Free Solution: |
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback. |
|
References: |
[1] High-Tech Bridge Advisory HTB22947 - https://www.immuniweb.com/advisory/HTB22947 - Multiple Vulnerabilities in Ajax Category Dropdown [2] Ajax Category Dropdown - dyasonhat.com - Ajax Category Dropdown is a WordPress plugin that lists all categories in a dropdown box and after selecting one the second dropdown box gets populated via Ajax with all posts from this category. [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.