Shop A La Cart suffers from cross site scripting and remote SQL injection vulnerabilities.
20f0683102c4d88ea17cd1bac898cabcfb3e7c69f0dae33bf55a29bd8059f94d
# Exploit Title: [Multiple vulnerabilities in SHOP A LA CART]
# Date: [03.09.2010]
# Author: [Ariko-Security]
# Software Link: [https://shopalacart.com]
# Version: [ALL]
# Tested on: [ALL]
# CVE : [n/a]
# Ariko-Security: Security Audits , Audyt bezpieczeństwa
# Advisory: 728/2010
============ { Ariko-Security - Advisory #1/9/2010 } =============
Multiple vulnerabilities in SHOP A LA CART
Vendor's Description of Software:
# https://shopalacart.com/shopping_cart_demo.php
Dork:
# N/A
Application Info:
# Name: SHOP A LA CART
# ALL versions
Vulnerability Info:
# Type: multiple SQL injections, multiple XSS, multiple iFrame
injections, multiple link injections,
Time Table:
# 20/08/2010 - Vendor notified.
Fix:
# n/a
Input passed via the "xGrp" parameter to catgrp.php is not properly
sanitised before being used in a SQL query.
Input passed via the "xCat" parameter to catmain.php and prodmain.php
is not properly
sanitised before being used in a SQL query.
Input passed to the "nLoginUser" ,"nCustPhone" parameters in
account_signup.php is not properly
sanitised before being returned to the user.
Input passed to the "nReferrer" ,"Zipcode" parameters in cart.php is not
properly
sanitised before being returned to the user.
Input passed to the "nPhone" ,"nMailName", "nFullName", "nEmail",
"nComments" parameters in popup_contact.php
is not properly sanitised before being returned to the user.
Input passed to the "nEmail" parameter in process_email.php
is not properly sanitised before being returned to the user.
Input passed to the "xRef" parameter in customer_login.php
is not properly sanitised before being returned to the user.
Input passed to the "xProd", "xCat" parameter in prodmain.php
is not properly sanitised before being returned to the user.
Input passed to the "nSearch" parameter in search.php
is not properly sanitised before being returned to the user.
Solution:
# Input validation of all vulnerable parameters should be corrected.
Vulnerability samples:
# https://[site]/cart.php?nReferrer=';</script><script>alert(XSS)</script>
# https://[site]/catgrp.php?xGrp=[SQLi]
# https://[site]/account_signup.php [POST]
nUpdate=1&nCustName=&nCustEmail=test%40altoromutual.com&nEmailOptOut=1&nCustPhone=%22%27%3E%3CA+HREF
%3D%22%2AAriko-Security.html%22%3EInjection%3C%2FA%3E&nLoginUser=&nLoginPass=&.x=0&.y=0
Credit:
# Discoverd By: Ariko-Security 2010
# Advisory:
https://advisories.ariko-security.com/september/audyt_bezpieczenstwa_729.html
--
Ariko-Secuirty