So in theory, can analytics platforms be compromised so that JPEG tracking pixels could turn into full-fledged sites interfering with the parent page at, say, a bank website? Firing off credentials in the background?
No, because if parsed as a JPEG, arbitrary code wont be run. If the jpeg was somehow parsed as JS, then possibly yes.
This JPEG is also a webpage
21–30 of 236 posts
Re: This JPEG is also a webpage
#22So in theory, can analytics platforms be compromised so that JPEG tracking pixels could turn into full-fledged sites interfering with the parent page at, say, a bank website? Firing off credentials in the background?
Re: This JPEG is also a webpage
#23That's a chipmunk, not a squirrel.
I'm not an expert on squirrels, but that could be a ground squirrel[1] of some sort. Some varieties of ground squirrel look a lot like chipmunks. [1]: https://en.wikipedia.org/wiki/Ground_squirrel
Re: This JPEG is also a webpage
#24I appreciate the technical trickery in this version, but has it not been possible to do this since at least 1996[1] by having the server serve different files based on the "Accept" http header? [1] https://www.w3.org/Protocols/HTTP/1.0/spec.html#Accept
Re: This JPEG is also a webpage
#25I appreciate the technical trickery in this version, but has it not been possible to do this since at least 1996[1] by having the server serve different files based on the "Accept" http header? [1] https://www.w3.org/Protocols/HTTP/1.0/spec.html#Accept
Re: This JPEG is also a webpage
#26...how is that possible?
He placed HTML inside a COM (comment) segment of the JPEG, which is perfectly legal. The ending of his HTML is " http://dev.exiv2.org/projects/exiv2/wiki/The_Metadata_in_JPE...
Re: This JPEG is also a webpage
#27Re: This JPEG is also a webpage
#28Earlier quoted context omitted.
He placed HTML inside a COM (comment) segment of the JPEG, which is perfectly legal. The ending of his HTML is " http://dev.exiv2.org/projects/exiv2/wiki/The_Metadata_in_JPE...
Actually the browser isn't ignoring the first bytes of the JPEG before the tag - it's there on the page, just hidden with CSS.
Re: This JPEG is also a webpage
#29I abused this concept to compress demo code in PNG files, with great success. http://demoseen.com/blog/2011-08-31_Superpacking_JS_Demos.ht... This is, at present, the most efficient way to pack demos on the web; a few characters of uncompressed bootstrap code, then the rest is deflated.
Re: This JPEG is also a webpage
#30A testament to one of the worst decisions in computing history - not to fail displaying a web page with an error message in case it is not a valid HTML document.