zlacker

[parent] [thread] 8 comments
1. cesarb+(OP)[view] [source] 2023-05-04 21:03:49
> A few things are effectively grandfathered in due to their vintage: /favicon.ico, /sitemap.xml and /robots.txt are the three that occur to me—so if you’re running something vaguely like S3, you’ll want to make sure users can’t create files at the top level of your domain matching at least those names.

I also recall /crossdomain.xml as an important one; allowing users to create an arbitrary file matching that name could allow certain kinds of cross-site attacks against your site.

replies(1): >>ehPRet+a2
2. ehPRet+a2[view] [source] 2023-05-04 21:15:59
>>cesarb+(OP)
I think crossdomain.xml died with Flash but I could be wrong, does anyone know?
replies(1): >>roblab+C4
◧◩
3. roblab+C4[view] [source] [discussion] 2023-05-04 21:29:17
>>ehPRet+a2
None of the standardized web technologies use crossdomain.xml, but I think Acrobat Reader still uses it for... stuff. And acrobat still has a browser plugin, so I guess it's still a potential vector for abuse.
replies(2): >>ehPRet+gE >>easrng+jR
◧◩◪
4. ehPRet+gE[view] [source] [discussion] 2023-05-05 02:15:11
>>roblab+C4
ah! Reader. That's a fun one. I once encountered an "Acrobat Reader-only" PDF that after filling out and selecting any applicable attachments on your filesystem you then... literally put in your credentials to the website in the PDF so that it could.. submit itself. I lost some braincells seeing that..
replies(1): >>capeco+pF
◧◩◪◨
5. capeco+pF[view] [source] [discussion] 2023-05-05 02:30:06
>>ehPRet+gE
Oh man, then you really don’t want to know about a product I once created.

Reader could have an optional Flash plugin, and better yet, you could configure the PDF interactive plugin to dynamically download the swf file to run.

I built an entire Flex based rich UI that was dynamically loaded by the 1kb PDF you’d receive in email, the Flex app retrieved and posted data via HTTP APIs.

Because reasons.

That product was live for years. I think we shut it down as recently as 2 years ago.

To be 100% clear, wasn’t my idea.

But it was my mistake to joke about the absurd possibility to build such a thing in front of some biz folks.

replies(1): >>ehPRet+nJ
◧◩◪◨⬒
6. ehPRet+nJ[view] [source] [discussion] 2023-05-05 03:22:34
>>capeco+pF
oh looooooooooooord. O_O
replies(2): >>ehPRet+Tl3 >>ehPRet+IP5
◧◩◪
7. easrng+jR[view] [source] [discussion] 2023-05-05 04:56:31
>>roblab+C4
But no browsers support 3rd-party plugins anymore. (I think the Chromium PDF viewer might be a plugin internally though?)
◧◩◪◨⬒⬓
8. ehPRet+Tl3[view] [source] [discussion] 2023-05-05 20:45:16
>>ehPRet+nJ
impressive, but still haha
◧◩◪◨⬒⬓
9. ehPRet+IP5[view] [source] [discussion] 2023-05-06 19:14:25
>>ehPRet+nJ
https://twitter.com/subtee/status/1654858616065732609?s=12

in an interesting coincidence, I found this today!

[go to top]