31 ms·
The techcrunch article links to this brief article, that I find both chilling and enraging. http://code.google.com/p/doctype/wiki/ArticleFlashSecurityPolicyAtt
by pasbesoin 17y ago
The techcrunch article links to this brief article, that I find both chilling and enraging.
http://code.google.com/p/doctype/wiki/ArticleFlashSecurityPolicyAttack http://code.google.com/p/doctype/wiki/ArticleFlashSecurityPo...
System.security.loadPolicyFile() is an ActionScript function in a Flash application that loads any URL, of any MIME type, and attempts to read the security policy in the HTTP response. If an attacker could upload and store an image, audio, RSS feed, or other file on a server that can later be retrieved, then he or she could place the Flash security policy in that file. For example, the following RSS feed is accepted as an open security policy...
Even worse, the file does not even have to be XML. The GIF image below places the Flash security policy in a GIF comment and is also accepted as an open security policy...
In fact, an attacker can embed the security policy within the data of any valid image, audio or other data file. This is easier to do so with uncompressed file formats, like BMP image files, but is possible in virtually any file format. The only limitations are that each byte before the </cross-domain-policy> tag must:
+ Be non-zero,
+ Have no unclosed XML tags (no stray <, 0x3c), and
+ Be 7-bit ASCII (bytes 0x01 to 0x7F)
[YC admins: My trailing "emphasis" asterisk was remaining visible until I placed (this) further text following it.]