Home / os / winmobile

WordPress iframe 3.0 Reflective Cross Site Scripting

Posted on 13 August 2015

Details ================ Software: iframe Version: 3.0 Homepage: http://wordpress.org/plugins/iframe/ Advisory report: https://security.dxw.com/advisories/reflected-xss-in-iframe-allows-unauthenticated-users-to-do-almost-anything-an-admin-can/ CVE: Awaiting assignment CVSS: 5.8 (Medium; AV:N/AC:M/Au:N/C:P/I:P/A:N) Description ================ Reflected XSS in iframe allows unauthenticated users to do almost anything an admin can Vulnerability ================ If the “get_params_from_url” option is used in the iframe shortcode, the page/post it’s on is opened up to a reflected XSS attack. Proof of concept ================ Paste the following into a post: [iframe src="http://www.youtube.com/embed/4qsGTXLnmKs" width="100%" height="500" get_params_from_url="1"] Visit the post in a browser that doesn’t attempt to mitigate XSS attacks (i.e. Firefox) and add some extra parameters: http://localhost/2015/07/31/iframe/?a=%22%3E%3C/iframe%3E%3Cscript%3Ealert(`hello%20world`)%3C/script%3E Mitigations ================ Upgrade to version 4.0 or later If this is not possible, ensure that the ‘get_params_from_url’ argument is never used in the shortcode. Disclosure policy ================ dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/ Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) as they generally cannot communicate with us on your behalf. This vulnerability will be published if we do not receive a response to this report with 14 days. Timeline ================ 2015-07-31: Discovered 2015-08-05: Reported to vendor via web form on http://web-profile.com.ua/feedback/ 2015-08-06: Vendor responded 2015-08-10: Vendor reported fixed in version 4.0 2015-08-10: Published Discovered by dxw: ================ Tom Adams Please visit security.dxw.com for more information.

 

TOP