`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 [email protected] to acknowledge this report if you received it via a third party (for example, [email protected]) 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.
`
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