Lucene search
K

Ananta Gazelle SQL Injection Vulnerability

🗓️ 16 Mar 2010 00:00:00Reported by AmnPardazType 
zdt
 zdt
🔗 0day.today👁 20 Views

Ananta Gazelle SQL Injection Vulnerability in forgot.ph

Code
==========================================
Ananta Gazelle SQL Injection Vulnerability
==========================================

###################################################################################
# Title:		Ananta Gazelle SQL Injection Vulnerability
# Vendor:		http://www.anantasoft.com/
# Vulnerable Version:	1.0 (Latest version till now)
# Exploitation:		Remote with browser
# Fix:			N/A
###################################################################################

####################
- Description:
####################

Ananta Gazelle is a rich JavaScript enabled CMS with multiple CSS  
templates. It is written in
PHP and uses MySQL. Approximately all of the queries of this CMS are  
written without dealing
with any one of user inputs in order to avoid SQL injection (as  
described by its comments:)


####################
- Vulnerability:
####################

+--> SQL Injection
	The forgotten password page "forgot.php" uses hidden inputs for  
creating a query in order to set
	an activation code. This vulnerability can be used to change the  
password of anyone.

####################
- Exploits/PoCs:
####################

+--> Exploiting The (MySQL) SQL Injection:
	There are three affected parameters: 'table', 'activate', 'email'.
	All of them can be used for injection. For example we can change the  
password of the admin
	user to "mypass" by setting the following values:
		table="users"		(unchanged)
		activate="123', pass=md5('mypass'), activate='456"
		email="the email of the admin user"

####################
- Solution:
####################

Sanitize the inputs of forgot.php file and do not place the parameters  
in the hidden inputs (migrate them to the session instead).




#  0day.today [2018-04-12]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation