Re: [Full-disclosure] Firefox focus stealing vulnerability (possibly other browsers)



Michal Zalewski wrote:
And it's not really that much of an issue: disallow script-assisted
focusing on file input fields, or a) prevent event target from being
changed in onKeyDown (this is what MSIE does) + b) prevent scripts from
reading file input field value (really no reason for them to).



Good ideas.

I really hate to duplicate or relay discussion, but bz says in the bug
that this has already been fixed on the trunk. You can't type *at all*
in file input fields there, only use the File Open dialog, as I
understood him.

I hope this fixes it once and for all. (Yes, this is a teaser. ;-) )

Ben

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/