4 ms·
> Only the janitor's department calling in can dial that sequence Is this the case though? Cannot any website use the same trick Adobe does to check whether y
by gray_-_wolf 5mo ago
> Only the janitor's department calling in can dial that sequence
Is this the case though? Cannot any website use the same trick Adobe does to check whether you have Creative Cloud installed? Like, the entries in /etc/hosts are not magically scoped to work just on Adobe's web, no?
- bastawhiz 5mo agoI think cors can prevent that. You can't make a cross origin request from an origin that isn't allowlisted
- inetknght 5mo agoYou really think a server-controlled CORS list will protect you from a client-side configuration issue?
- bastawhiz 5mo agoIt's not a client side configuration issue. You're not protecting against software the user has installed, you're protecting from arbitrary origins hitting the hostname. That's literally the exact reason cors exists.
- 15155 5mo agoTiming attack on the preflight.
- bastawhiz 5mo agoThe DNS lookup will take an indeterminate amount of time and the cors failure is cached. You can't really effectively do a timing attack, especially if the client and the real server take a random time to respond. You get exactly one sample.
- 15155 5mo agodetect-ccd.creativecloud.adobe.com returns NXDOMAIN. Why can't you request a different resource to get more than one attempt?
- jacobgkau 5mo ago> Cannot any website use the same trick Adobe does to check whether you have Creative Cloud installed? That is specifically what I was talking about. > (Because it seems Adobe's server serving the analytics image checks the request origin and only serves the image if the origin is Adobe's own website.) It's additional complexity on the server side, per a Reddit comment on the topic: https://old.reddit.com/r/webdev/comments/1sb6hzk/adobe_wrote_to_my_hosts_file_ive_never_had_an_app/oe1xzji/ https://old.reddit.com/r/webdev/comments/1sb6hzk/adobe_wrote... The example curl commands given seemed convincing to me, although they also demonstrate that you can fake the origin pretty easily on the client side.