Lucene search
K

cpCommerce v1.2.8 - (id_document) Blind SQL Injection

cpCommerce v1.2.8 - (id_document) Blind SQL Injection in document.php pane

Code
Document Title:
===============
cpCommerce v1.2.8 - (id_document) Blind SQL Injection


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2254


Release Date:
=============
2020-05-08


Vulnerability Laboratory ID (VL-ID):
====================================
2254


Common Vulnerability Scoring System:
====================================
7


Vulnerability Class:
====================
SQL Injection


Current Estimated Price:
========================
1.000€ - 2.000€


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a blind sql-injection web vulnerability in the official cpCommerce v1.2.8 application.


Vulnerability Disclosure Timeline:
==================================
2020-05-09: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Authentication Type:
====================
Pre Auth (No Privileges or Session)


User Interaction:
=================
No User Interaction


Disclosure Type:
================
Full Disclosure


Technical Details & Description:
================================
A remote sql-injection vulnerability has been discovered in the official cpCommerce v1.2.8 web-application.
The vulnerability allows remote attackers to inject or execute own sql commands to compromise the dbms 
or file system of the application.

The remote blind sql injection web vulnerability is located in the id_document parameter of the internal 
document.php panel file. Remote attackers are able to blind inject and execute own malicious sql commands 
as statement to compromise the local database and affected management system. The request method to 
inject/execute is GET and the attack vector is client-side.

Exploitation of the remote sql injection vulnerability requires no user interaction or privileged user account. 
Successful exploitation of the remote sql injection results in database management system, web-server and 
web-application compromise.

Request Method(s):
[+] GET

Vulnerable File(s):
[+] document.php

Vulnerable Parameter(s):
[+] id_document


Proof of Concept (PoC):
=======================
The blind sql-injection vulnerability can be exploited by remote attackers without user account or user interaction.
For security demonstration or to reproduce the web vulnerability follow the provided information and steps below to continue.


Dork: Google
intext:"Powered by cpcommerce"


PoC: Example
http://localhost:8000/[path]/document.php?id_document=[SQL-INJECTION!]


PoC: Exploitation
http://localhost:8000/[PATH]/document.php?id_document=1 and substring(@@version,1,1)=4
http://localhost:8000/[PATH]/document.php?id_document=1 and substring(@@version,1,1)=5


Credits & Authors:
==================
Milad Karimi - https://www.vulnerability-lab.com/show.php?user=Milad+Karimi

Telegram : @Ex3ptionaL
Email : [email protected]  &  [email protected]
Instagram : @m.i.l.a.d_._k.a.r.i.m.i



Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab 
or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits 
or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do 
not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. 
We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains:    www.vulnerability-lab.com		www.vuln-lab.com				www.vulnerability-db.com
Services:   magazine.vulnerability-lab.com	paste.vulnerability-db.com 			infosec.vulnerability-db.com
Social:	    twitter.com/vuln_lab		facebook.com/VulnerabilityLab 			youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php 	vulnerability-lab.com/rss/rss_upcoming.php 	vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php 	vulnerability-lab.com/register.php  vulnerability-lab.com/list-of-bug-bounty-programs.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other 
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other 
information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or 
edit our material contact (admin@ or research@) to get a ask permission.

				    Copyright © 2020 | Vulnerability Laboratory - [Evolution Security GmbH]™



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