Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
sabreW4K3 ( sabreW4K3@lazysoci.al )  to Privacy@lemmy.dbzer0.comEnglish · 1 year ago

Adult sites are stashing exploit code inside racy .svg files

arstechnica.com

external-link
message-square
13
link
fedilink
  • cross-posted to:
  • privacy@programming.dev
  • pulse_of_truth@infosec.pub
39
external-link

Adult sites are stashing exploit code inside racy .svg files

arstechnica.com

sabreW4K3 ( sabreW4K3@lazysoci.al )  to Privacy@lemmy.dbzer0.comEnglish · 1 year ago
message-square
13
link
fedilink
  • cross-posted to:
  • privacy@programming.dev
  • pulse_of_truth@infosec.pub
Running JavaScript from inside an image? What could possibly go wrong?
  • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I clicked through the source article, and it sounds like this is specifically a windows thing: original article says that when a windows machine loads the malicious SVG, the malicious JS is parsed in a Microsoft Edge browser process, regardless of the browser a user visited the porn site with (apparently all Windows SVGs load through Edge).

    what the actual fuck? does that mean that even if I only use firefox, edge is involved in loading SVGs? how??

    • CrackedLinuxISO ( CrackedLinuxISO@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Opening the SVG file opens an empty Edge tab titled Process Monitor. This happens because SVG files on Windows are opened by Edge, even if the user has another browser set as their default.

      https://www.malwarebytes.com/blog/news/2025/08/adult-sites-trick-users-into-liking-facebook-posts-using-a-clickjack-trojan

      • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        that does not explain how does it happen when the svg appears on a page in firefox. firefox won’t try to open all embedded assets with the default file handler in the OS, it will directly use its built in tools to handle it.

    • purplemonkeymad ( purplemonkeymad@programming.dev ) 
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I think it’s saying that the default association for SVG is edge, as setting a default browser does not change that. If you use another image viewer for SVG it might behave differently.

      • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        but how does edge get opened? firefox, and pretty sure chrome too, aren’t searching the OS file associations for each asset they received from the site. they won’t decode the png images with Windows Photos or whatever, they will use their internal tools to process it.

        file associations would only affect if you open an svg file in the filesystem with a file manager. but I don’t see how edge gets into the picture when the user is just using another browser, because it’s rare that a user saves an SVG

        • outhouseperilous ( outhouseperilous@lemmy.dbzer0.com ) 
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I found this technically surprising, but like the most microsoft thing ever.

Privacy@lemmy.dbzer0.com

privacy@lemmy.dbzer0.com

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !privacy@lemmy.dbzer0.com

Welcome! This is a community for all those who are interested in protecting their privacy.

Rules

PS: Don’t be a smartass and try to game the system, we’ll know if you’re breaking the rules when we see it!

  1. Be civil and no prejudice
  2. Don’t promote big-tech software
  3. No apathy and defeatism for privacy (i.e. “They already have my data, why bother?”)
  4. No reposting of news that was already posted
  5. No crypto, blockchain, NFTs
  6. No Xitter links (if absolutely necessary, use xcancel)

Related communities:

Some of these are only vaguely related, but great communities.

  • !opensource@programming.dev
  • !selfhosting@slrpnk.net / !selfhosted@lemmy.world
  • !piracy@lemmy.dbzer0.com
  • !drm@lemmy.dbzer0.com
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 104 users / day
  • 796 users / week
  • 1.03K users / month
  • 3.17K users / 6 months
  • 32 local subscribers
  • 6.24K subscribers
  • 1.01K Posts
  • 5.3K Comments
  • Modlog
  • mods:
  • Otter ( otter@lemmy.ca ) 
  • shaytan ( shaytan@lemmy.dbzer0.com ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code