Opened 3 years ago
Closed 17 months ago
#12293 closed defect (bug) (fixed)
Frame Busting in the Admin
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Security | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by ryan)
We discussed this before when Twitter was suffering from the iframe clickjacking attacks. Such attacks are harder and less tempting to do on individual WP sites than on big sites like Twitter and wp.com. They are still possible though, so we should consider integrating frame busting. The problem is that frame busting does break some plugins. Plugins would need API to turn of frame busting for their pages and would have to update to use that API.
Attachments (2)
Change History (19)
We have to turn if off for our uploader too. Maybe someone knows a way of adding secure exceptions.
That's the classic technique. Maybe one of the billion new flavors of frame busting would smoothly handle plugins and the uploader.
comment:7
miqrogroove — 3 years ago
Food for thought: I use this on all of my websites. I can tell you from experience that almost every search engine except for Google is incompatible with frame busting. It's even money that any particular search engine will either block the site entirely, or will cover the search results with a message that says, "clicking here will cause you to leave the search engine (whine) please open the link in a new window."
Of course, I ignore all of them because everyone uses Google anyway. :P
comment:9
miqrogroove — 3 years ago
oh.. aah. Excellent, then.
comment:10
miqrogroove — 3 years ago
Hopefully wp-login too.
comment:11
mdawaffe — 3 years ago
To address the uploader and any plugins with iframes, how about we not frame bust if there's a valid nonce in the query string?
comment:12
nacin — 3 years ago
- Keywords early added
- Milestone changed from 3.0 to 3.1
comment:13
nacin — 3 years ago
- Keywords 3.2-early added; early removed
- Milestone changed from Awaiting Triage to Future Release
With IFRAME_REQUEST this could be done easier. Also mda's comment about valid nonce checks.
comment:14
markjaquith — 2 years ago
The big three browsers now support this. Let's hit this in 3.2.
comment:15
ryan — 2 years ago
In [17826]:
comment:16
ryan — 2 years ago
In [18013]:
comment:17
ryan — 17 months ago
- Keywords 3.2-early removed
- Milestone changed from Future Release to 3.1
- Resolution set to fixed
- Status changed from new to closed

If a plugin turned it off for a few pages, wouldn't those pages be vulnerable to clickjacking?