Closed Bug 220257 Opened 16 years ago Closed 16 years ago
Mozilla favors writing/executing on harddisk, using .hta files
Assignee: file.handling → cbiesinger
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thank you for working so quickly on this bug. I looked at the patch and to me it seemed like it only checkes the file extension. Does that mean that this link still works? http://www.heise.de/security/dienste/browsercheck/demos/ie/htaalert.php This link seems like a (harmless) php-File but is in reality a (harmless) exploit delivered as "application/hta".
No, that doesn't work either. The checked file extension is the final one, which is also .hta in this example.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
Comment on attachment 132136 [details] [diff] [review] patch sr=bzbarsky
Attachment #132136 - Flags: superreview?(darin) → superreview+
Checking in nsLocalFileWin.cpp; /cvsroot/mozilla/xpcom/io/nsLocalFileWin.cpp,v <-- nsLocalFileWin.cpp new revision: 1.108; previous revision: 1.107 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 132136 [details] [diff] [review] patch would be nice to get this security fix into 1.5 and 1.4.2, too... it just makes it so that .hta files are also considered executable, should be very low risk.
Is it already too late for 1.4.1?
to my knowledge, it is.
I think this should get fixed on the 1.4 branch. I'm recommending it for 1.5 also, but I'll let another driver mark the bug blocking1.5. /be
Flags: blocking1.4.2? → blocking1.4.2+
Comment on attachment 132136 [details] [diff] [review] patch a=asa (on behalf of drivers) for checkin to the 1.5 branch.
Attachment #132136 - Flags: approval1.5? → approval1.5+
looks like brendan already checked this into the 1.5 branch
Yes, sorry -- thought I updated this bug (I switched machines and may have left a bugzilla login screen up). /be
Comment on attachment 132136 [details] [diff] [review] patch Please check into the 1.4 branch. /be
Attachment #132136 - Flags: approval1.4.2? → approval1.4.2+
fixed on 1.4 branch Checking in nsLocalFileWin.cpp; /cvsroot/mozilla/xpcom/io/nsLocalFileWin.cpp,v <-- nsLocalFileWin.cpp new revision: 18.104.22.168; previous revision: 22.214.171.124 done
You need to log in before you can comment on or make changes to this bug.