Document Title: =============== cpCommerce v1.2.8 - (id_document) Blind SQL Injection Date: ===== 2020-05-08 References: =========== https://www.vulnerability-lab.com/get_content.php?id=2254 VL-ID: ===== 2254 Common Vulnerability Scoring System: ==================================== 7 Vulnerability Class: ==================== SQL Injection Abstract: ========= An independent vulnerability laboratory researcher discovered a blind sql-injection web vulnerability in the official cpCommerce v1.2.8 application. Report-Timeline: ================ 2020-05-09: Public Disclosure (Vulnerability Laboratory) Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= High Details: ======== 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: ================= 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: ======== Milad Karimi - https://www.vulnerability-lab.com/show.php?user=Milad+Karimi Telegram : @Ex3ptionaL Email : miladkarimi311@yahoo.com & miladgrayhat@gmail.com Instagram : @m.i.l.a.d_._k.a.r.i.m.i Disclaimer: =========== 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]™