iScripts ReserveLogic Multiple Vulnerabilities


Description   Multiple vulnerabilities have been reported in iScripts ReserveLogic, which can be exploited by malicious people to conduct cross-site scripting, cross-site request forgery, and SQL injection attacks.
1) Input passed via the "pid" parameter to packagedetails.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via multiple parameters to multiple scripts is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
List of affected scripts and parameters:
<a href="http://[host]/locationdetails.php?did
" target="_blank">http://[host]/locationdetails.php?did
</a>
<a href="http://[host]/admin/bookings.php?page
" target="_blank">http://[host]/admin/bookings.php?page
</a>
<a href="http://[host]/admin/addpackages.php?txtkey
" target="_blank">http://[host]/admin/addpackages.php?txtkey
</a>
<a href="http://[host]/admin/addpackages.php?page
" target="_blank">http://[host]/admin/addpackages.php?page
</a>
<a href="http://[host]/admin/addpackages.php?cmbSearch
" target="_blank">http://[host]/admin/addpackages.php?cmbSearch
</a>
<a href="http://[host]/admin/addpackages.php?postsearch
" target="_blank">http://[host]/admin/addpackages.php?postsearch
</a>
<a href="http://[host]/admin/addpackages.php?id
" target="_blank">http://[host]/admin/addpackages.php?id
</a>
<a href="http://[host]/admin/add_news.php?nid
" target="_blank">http://[host]/admin/add_news.php?nid
</a>
<a href="http://[host]/admin/addaccomtypeavailability.php?id
" target="_blank">http://[host]/admin/addaccomtypeavailability.php?id
</a>
<a href="http://[host]/admin/add_banner.php?nBId
" target="_blank">http://[host]/admin/add_banner.php?nBId
</a>
<a href="http://[host]/admin/editfeedback.php?id
" target="_blank">http://[host]/admin/editfeedback.php?id
</a>
3) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. conduct script insertion attacks when a logged-in administrative user visits a specially crafted web page.
     
Vulnerable Products   Vulnerable Software:
iScripts ReserveLogic 1.x
     
Solution   Reportedly fixed in latest version. Please contact the vendor for details.
     
CVE   CVE-2010-4980
     
References   Salvatore Fresta:
http://www.salvatorefresta.net/files/adv/iScripts%20ReserveLogic%201.0%20SQL%20Injection%20Vulnerability-01072010.txt
Vulnerability Lab:
http://archives.neohapsis.com/archives/fulldisclosure/2012-07/0151.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - GET : block comment delimiters in URL
3.2.0
SQL injection Prevention - GET : suspicious SQL statement in header
4.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2010-07-02 

 Target Type 
Server 

 Possible exploit 
Remote