edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] zip and security
@ 2018-03-05 22:17 Karl Dahlke
  2018-03-05 22:32 ` Dominique Martinet
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Dahlke @ 2018-03-05 22:17 UTC (permalink / raw)
  To: Edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Here is something funny, so terribly unlikely that I'm not gonna worry about it, but there's always a way, isn't there.

Suppose Fred knows all about edbrowse, and millions of people are using edbrowse (instead of 15),
and he knows a lot of us use the plugins in the wiki to access zip files.
He writes a web page with javascript that does an xhr request to
zipxd://foo.zip@:@top
If anything is found, the javascript sends it back to the server for analysis.
Or maybe the script traverses the entire tree in the zip archive and sends all the files to the server.
Now I say it's unlikely because the web page would have to know the name of your zip file, i.e. the path to your zip file, and at least one directory.
In my example it has to know there is foo.zip in your current directory and it has a directory inside it called top.
There aren't any standard zip files in standard places on unix machines, so I guess we're all right.
I just looked under /bin /lib /usr /etc and found none.

Karl Dahlke

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-05 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 22:17 [Edbrowse-dev] zip and security Karl Dahlke
2018-03-05 22:32 ` Dominique Martinet
2018-03-05 23:35   ` Kevin Carhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).