Bugtraq mailing list archives

Re: XMLHttpRequest file upload vulnerability Chrome 2 & Safari 3


From: Michal Zalewski <lcamtuf () coredump cx>
Date: Tue, 9 Jun 2009 14:08:41 -0700

.html can be crafted to force a unaware user to read file from local, and then possibly send it to a server.

Yup, this is an unfortunate, legacy property, not specific to any
particular browser; it is also fairly well-known and documented; see:

http://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy
(multiple sections discussing file: access rules, including
XMLHttpRequest, DOM access, etc)

http://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html

/mz


Current thread: