Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Vulnerability Development: IE7 SELECT Tag

IE7 SELECT Tag

From: <dan.ross_at_picbusiness.com>
Date: 31 Oct 2006 14:20:59 -0000
('binary' encoding is not supported, stored as-is) I just installed IE7 this morning, then promptly found my first bug.

Now, imagine instead of fruit, you're picking which bank account to transfer money to/from...

Sample Code:
<html>
<body>
<B>Please choose one:</B> &nbsp;
<SELECT onchange=alert('hi') size=1 name=favorite>
<OPTION value="">
<OPTION value=1>Apple
<OPTION value=2>Banana
<OPTION value=3 selected>Cashew
<OPTION value=4>Orange
</SELECT>
</body>
</html>

You have to be very picky to reproduce:
1. click on the arrow at the right of the select, leave your mouse there
2. type first character of your selection
3. click on the arrow again (remember your mouse is still right there)
onchange never gets called!

In fact, if you do step 1 again, you can see your previous option is not highlighted; rather the original one "selected" is still highlighted!

If you move your mouse (even just a little), onchange does get called.
Received on Nov 01 2006

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos