Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:27978
HistoryApr 23, 2012 - 12:00 a.m.

Matterdaddy Market v1.1 - SQL Injection Vulnerabilities

2012-04-2300:00:00
vulners.com
37

Title:

Matterdaddy Market v1.1 - SQL Injection Vulnerabilities

Date:

2012-04-09

References:

http://www.vulnerability-lab.com/get_content.php?id=499

VL-ID:

499

Introduction:

Matterdaddy Market is a application that allows you to run your own online marketplace or classifieds
listing site similar to Craigslist. It was written in PHP and uses MySQL to for data storage. Additionally,
it uses jQuery for elegant effects and that web 2.0 pizzazz you ve always dreamed of.

The general design is simple and clean which should go well with any site, customization can be done easily
through the CSS file. You can add your header and footer to it or include it in an iframe and you are ready
to roll. And if you want to get your hands dirty in code, the comments will help you know what is going on.

  • PHP
  • MySQL (4 or 5)
  • GD Library to support images

(Copy of the Vendor Homepage: http://market.matterdaddy.com/ )

Abstract:

The Vulnerability Laboratory Team discovered multiple SQL Injection Vulnerabilities on Matterdaddys
Market eCommerce Content Management System v1.1.

Report-Timeline:

2012-04-09: Public or Non-Public Disclosure

Status:

Published

Exploitation-Technique:

Remote

Severity:

High

Details:

A remote SQL Injection vulnerability is detected on Matterdaddys Market eCommerce Content Management System v1.1.
The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands
on the affected application dbms. Successful exploitation of the vulnerability results in dbms & application compromise.

Vulnerable Module(s):
[+] Controller - cat_order= & cat_name=

— SQL Exception Logs —
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 ` -1` at line 1
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 `-1` at line 2
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 ` -1 ` at line 3
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 ` -1 `at line 4

Picture(s):
…/1.png
…/2.png

Proof of Concept:

The sql injection vulnerability can only be exploited by privileged user accounts without required user inter action.
For demonstration or reproduce …

server.com/mdmarket/admin/controller.php?cat_name=1&cat_order=-1%27[SQL INJECTION]
&add=Add+Category&op=newCategory

server.com/mdmarket/admin/controller.php?cat_name=-1%27[SQL INJECTION]
&cat_order=1&add=Add+Category&op=newCategory

Risk:

The security risk of the sql injection vulnerabilities is estimated as high(-).

Credits:

Vulnerability Research Laboratory - Chokri B.A. (Me!ster)

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. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. 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 or its suppliers.

                                            Copyright © 2012 Vulnerability-Lab


VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: [email protected]