<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01 Transitional//EN’><html><head><meta http-equiv=’Content-Type’ content=’text/html; charset=windows-1251′><title>iScripts ReserveLogic 1.0 SQL Injection Vulnerability</title><link rel=’shortcut icon’ href=’/favicon.ico’ type=’image/x-icon’><link rel=’alternate’ type=’application/rss+xml’ title=’Inj3ct0r RSS’ href=’/rss’></head><body><pre>=====================================================
iScripts ReserveLogic 1.0 SQL Injection Vulnerability
=====================================================

iScripts ReserveLogic 1.0 SQL Injection Vulnerability

Name iScripts ReserveLogic
Vendor http://www.iscripts.com
Versions Affected 1.0

Author Salvatore Fresta aka Drosophila
Website http://www.salvatorefresta.net
Contact salvatorefresta [at] gmail [dot] com
Date 2010-01-07

X. INDEX

I. ABOUT THE APPLICATION
II. DESCRIPTION
III. ANALYSIS
IV. SAMPLE CODE
V. FIX

I. ABOUT THE APPLICATION

iScripts ReserveLogic allows independent hotel/motels,
B&amp;B, time-shares, campgrounds, tour companies, etc., to
take their business truly online with online reservation
and customer management.

II. DESCRIPTION

A numeric field is not properly sanitised before being
used in a SQL query.

III. ANALYSIS

Summary:

A) SQL Injection

A) SQL Injection

The pid parameter in packagedetails.php is not properly
sanitised before being used in a SQL query. Successful
exploitation requires that the pid value exists in the
database, or rather that is a real package id.

IV. SAMPLE CODE

A) SQL Injection

http://site/path/packagedetails.php?pid=1 UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12%23

V. FIX

No Fix.

# <a href=’http://inj3ct0r.com/’>Inj3ct0r.com</a> [2010-07-01]</pre><script type=’text/javascript’>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src=’" + gaJsHost + "google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E"));</script><script type=’text/javascript’>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>
Source: http://inj3ct0r.com/exploits/4239