# Ariko-Security: Security Audits , Audyt bezpieczeństwa
# Advisory: 745/2010

# CVE Reference: CVE-2008-2688 (only 1 SQL injection)
# EDB-ID: 5765 (only 1 SQL injection)

============ { Ariko-Security - Advisory #1/11/2010 } =============

ASPilot Pilot Cart 7.3 multiple vulnerabilities

Vendor's Description of Software and demo:
# http://www.pilotcart.com

Dork:
# Powered by Pilot Cart V.7.3

Application Info:
# Name: Pilot Cart
# version last 7.3

Vulnerability Info:
# Type: multiple SQL injections, multiple XSS, multiple iFrame injections, multiple link injections.

Time Table:
# 29/10/2010 - Vendor notified.

Fix:
# n/a

5x SQL injection

Input passed via the "article" parameter to pilot.asp and kb.asp is not properly
sanitised before being used in a SQL query.
Input passed via the "specific" parameter to cart.asp is not properly
sanitised before being used in a SQL query.
Input passed via the "countrycode" parameter to contact.asp is not properly
sanitised before being used in a SQL query.
Input passed via the "srch" parameter to search.asp is not properly
sanitised before being used in a SQL query.

5x link injections, 5x XSS, 5xiFrame injections.

Input passed to the "countrycode" parameter in contact.asp is not properly
sanitised before being returned to the user.

Input passed to the "USERNAME" parameter in gateway.asp and cart.asp is not properly
sanitised before being returned to the user.

Input passed to the "specific" parameter in quote.asp and buyitnow.asp is not properly
sanitised before being returned to the user.

Link injections:
http://site/contact.asp
countrycode=[link]
http://site//gateway.asp
USERNAME=[link]
http://site//quote.asp
specific=[link]

http://site/cart.asp?mode=checklogin
[POST] USERNAME=[link]
http://site/buyitnow.asp?doit=yes
[POST] specific=[link]

XSS:
http://site/contact.asp
countrycode=XSS
http://site/gateway.asp
USERNAME=XSS
http://site/quote.asp
specific=XSS

http://site/cart.asp?mode=checklogin
[POST] USERNAME=XSS
http://site/buyitnow.asp?doit=yes
[POST] specific=XSS

iFrame Injections:
http://site/contact.asp
countrycode=[iFrame]
http://site/gateway.asp
USERNAME=[iFrame]
http://site/quote.asp
specific=[iFrame]

http://site/cart.asp?mode=checklogin
[POST] USERNAME=[iFrame]
http://site/buyitnow.asp?doit=yes
[POST] specific=[iFrame]

Solution:
# Input validation of all vulnerable parameters should be corrected.

Credit:
# Discoverd By: Maciej Gojny / Ariko-Security 2010