News for hackers. Stuff that matters.
Re:Target=“_blank” – the most underestimated vulnerability ever by psiinon on Monday December 23, 2019 @06:09PM (#21868320)
It's called Reverse Tabnabbing on OWASP: https://www.owasp.org/index.php/Reverse_Tabnabbing - lots more details there. Its detected by the ZAP beta passive scan rules: https://github.com/zaproxy/zap-extensions/wiki/HelpAddonsPsc...
Re:Target=“_blank” – the most underestimated vulnerability ever by richardwhiuk on Monday December 23, 2019 @05:56PM (#21868233)
The Google Bughunter page suggests that there are plenty of other ways to exploit this - anyone know what they are?
Re:Target=“_blank” – the most underestimated vulnerability ever by surround on Monday December 23, 2019 @08:25PM (#21869093)
Re:Target=“_blank” – the most underestimated vulnerability ever by rasz on Tuesday December 24, 2019 @06:02PM (#21875528)
window.opener = undefined; takes care of the problem
Re:Target=“_blank” – the most underestimated vulnerability ever by SigmundA on Tuesday December 24, 2019 @08:58AM (#21872072)
Actually surprised this is possible in crossdomain. Almost everything else through is locked down otherwise.

Anyone know why this isn't considered a bug and fixed? What is a legit use of a window changing it opener location crossdomain? I get it in the same web site / app.

Re:Target=“_blank” – the most underestimated vulnerability ever by hbcondo714 on Monday December 23, 2019 @06:02PM (#21868268)
This was previously discussed here a few years ago but the article was updated in September of this year

https://news.ycombinator.com/item?id=15685324

Re:Target=“_blank” – the most underestimated vulnerability ever by combatentropy on Tuesday December 24, 2019 @06:00PM (#21875518)
> The page we're linking to gains partial access to the linking page via the window.opener object. The newly opened tab can then change the window.opener.location

Dear browsers, please just remove this feature.

Re:Target=“_blank” – the most underestimated vulnerability ever by rasz on Tuesday December 24, 2019 @06:27PM (#21875631)
There might be some legacy code using this, but privacy conscious browsers (so not Chrome, but maybe Vivaldi?) should have a section dedicated to turning off stupid shit like this. Opera used to have plethora of options where you could disable user hostile tricks like blocking right click menu etc. Things you could customize (down to per website granularity):

Allow resizing of windows

Allow moving of windows

Allow raising of windows

Allow lowering of windows

Allow changing of status field

Allow scripts to detect context menu events

Allow script to hide address bar

Enable frames

Enable inline frames

Send referrer information

+ability to disable/set detailed quota/readonly for HTML5 local storage/cookies

Modern browser should probably throw in ability to disable/block AudioContext/ navigator.mediaDevices/ navigator.getUserMedia/ HTMLCanvasElement.prototype.toDataURL/ HTMLCanvasElement.prototype.toBlob/ CanvasRenderingContext2D.prototype.getImageData/ WebRTC/ navigator.sendBeacon/ window.opener

Re:Target=“_blank” – the most underestimated vulnerability ever by rs23296008n1 on Monday December 23, 2019 @07:42PM (#21868917)
Interesting that Google don't see this as fixable.

I'm surprised it can't be addressed. Is being able to modify the referrer location that difficult to lock in various ways?

Re:Target=“_blank” – the most underestimated vulnerability ever by est on Monday December 23, 2019 @09:52PM (#21869473)
It's interesting that Google is the only expected browser vender these days.
Re:Target=“_blank” – the most underestimated vulnerability ever by zamadatix on Monday December 23, 2019 @10:13PM (#21869560)
Firefox was mentioned in the article, Safari isn't that interested in furthering the web, and Microsoft has thrown in the towel and skinned Chromium as many others. Not sure who else would have commented/been mentioned.
Re:Target=“_blank” – the most underestimated vulnerability ever by mistersquid on Tuesday December 24, 2019 @08:08PM (#21876041)
> Safari isn't that interested in furthering the web

On macOS 10.15.2 (19C57) using Safari 13.0.4 (15608.4.9.1.3), the proofs of concept mentioned in the article yield

> The previous tab is safe and intact. window.opener was null; mischief not managed!

Perhaps your dismissal of Safari is presumptive and mistaken.

Re:Target=“_blank” – the most underestimated vulnerability ever by rs23296008n1 on Tuesday December 24, 2019 @06:50PM (#21875721)
I think aspects of this should be fixed in the standards. Firefox should definitely fix it. Make it readonly or even non-readable by default when the child domain is different to parent. Have the parent decide.

Security issues need secure solutions, right?

I don't actually see the utility in allowing open access from child page to parent page, especially when cross-server is a factor. There are similar other issues that have been closed. Why not this one?