Lucene search
K

iScripts CyberMatch 1.0 Blind SQL Injection Vulnerability

🗓️ 01 Jul 2010 00:00:00Reported by Salvatore FrestaType 
zdt
 zdt
🔗 0day.today👁 17 Views

iScripts CyberMatch 1.0 Blind SQL Injection Vulnerability in profile.ph

Code
=========================================================
iScripts CyberMatch 1.0 Blind SQL Injection Vulnerability
=========================================================


iScripts CyberMatch 1.0 Blind SQL Injection Vulnerability
 
 Name              iScripts CyberMatch
 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-02-07
 
X. INDEX
 
 I.    ABOUT THE APPLICATION
 II.   DESCRIPTION
 III.  ANALYSIS
 IV.   SAMPLE CODE
 V.    FIX
  
 
I. ABOUT THE APPLICATION
 
iScripts CyberMatch is a  turnkey  online dating software
for  you   to  start  a  full-fledged  dating  site  like
match.com or eHarmony in minutes. iScripts CyberMatch can
be used  to  create  your  own Dating, Personals or match
making Site, Adult or Matrimonial Site.
 
 
II. DESCRIPTION
 
A parameter is not properly sanitised before being used in
a SQL query.
 
 
III. ANALYSIS
 
Summary:
 
 A) Blind SQL Injection
  
 
A) Blind SQL Injection
 
The id parameter in profile.php is not  properly sanitised
before being used in a SQL query. That  is  not  the query
which selects the information about the  user specified by
the id parameter but is the query that selects the image's
name. The affected query is a query of five fields.
 
When the injected condition is true, in  the  page will be
printed the  real  link  to the personal image of the user
specified  by  the  id  parameter,  otherwise  a  link  to
bignophoto.gif.
 
True condition:
http://site/path/images/profiles/id_random.jpg
 
False condition:
http://site/path/images/profiles/bignophoto.gif
 
Successful exploitation requires  that "magic_quotes_gpc"
is disabled and that the user specified by  id parameter
has posted an image.
 
 
IV. SAMPLE CODE
 
A) Blind SQL Injection
 
http://site/path/profile.php?id=10' UNION SELECT 1,2,3,4,5%23
 
http://site/path/profile.php?id=10' AND 1=1%23
http://site/path/profile.php?id=10' AND 1=0%23
 
 
V. FIX
 
No Fix.



#  0day.today [2018-04-08]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation