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

Ben Bucksch news at bucksch.org
Sun Feb 11 22:35:46 GMT 2007


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 is hosted and sponsored by Secunia.