CVE-2010-4980
Description
SQL injection vulnerability in packagedetails.php in iScripts ReserveLogic 1.0 allows remote attackers to execute arbitrary SQL commands via the pid parameter.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
iScripts ReserveLogic 1.0 - SQL Injection
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&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.
Reserve Logic 1.2 Booking CMS - Multiple Vulnerabilities
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| iscripts | reservelogic | 1.0 | |
References
- http://packetstormsecurity.org/1007-exploits/reservelogic-sql.txt
- http://secunia.com/advisories/40435
- http://securityreason.com/securityalert/8487
- http://www.exploit-db.com/exploits/14163
- http://www.salvatorefresta.net/files/adv/iScripts%20ReserveLogic%201.0%20SQL%20Injection%20Vulnerability-01072010.txt
- http://www.securityfocus.com/archive/1/512137/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59985
- http://packetstormsecurity.org/1007-exploits/reservelogic-sql.txt
- http://secunia.com/advisories/40435
- http://securityreason.com/securityalert/8487
- http://www.exploit-db.com/exploits/14163
- http://www.salvatorefresta.net/files/adv/iScripts%20ReserveLogic%201.0%20SQL%20Injection%20Vulnerability-01072010.txt
- http://www.securityfocus.com/archive/1/512137/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59985
CWEs
CWE-89
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.