Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Security Graphics Privacy

GPUs From All Major Suppliers Are Vulnerable To New Pixel-Stealing Attack (arstechnica.com) 26

An anonymous reader quotes a report from Ars Technica: GPUs from all six of the major suppliers are vulnerable to a newly discovered attack that allows malicious websites to read the usernames, passwords, and other sensitive visual data displayed by other websites, researchers have demonstrated in a paper (PDF) published Tuesday. The cross-origin attack allows a malicious website from one domain -- say, example.com -- to effectively read the pixels displayed by a website from example.org, or another different domain. Attackers can then reconstruct them in a way that allows them to view the words or images displayed by the latter site. This leakage violates a critical security principle that forms one of the most fundamental security boundaries safeguarding the Internet. Known as the same origin policy, it mandates that content hosted on one website domain be isolated from all other website domains. [...]

GPU.zip works only when the malicious attacker website is loaded into Chrome or Edge. The reason: For the attack to work, the browser must:

1. allow cross-origin iframes to be loaded with cookies
2. allow rendering SVG filters on iframes and
3. delegate rendering tasks to the GPU

For now, GPU.zip is more of a curiosity than a real threat, but that assumes that Web developers properly restrict sensitive pages from being embedded by cross-origin websites. End users who want to check if a page has such restrictions in place should look for the X-Frame-Options or Content-Security-Policy headers in the source.
"This is impactful research on how hardware works," a Google representative said in a statement. "Widely adopted headers can prevent sites from being embedded, which prevents this attack, and sites using the default SameSite=Lax cookie behavior receive significant mitigation against personalized data being leaked. These protections, along with the difficulty and time required to exploit this behavior, significantly mitigate the threat to everyday users. We are in communication and are actively engaging with the reporting researchers. We are always looking to further improve protections for Chrome users."

An Intel representative, meanwhile, said that the chipmaker has "assessed the researcher findings that were provided and determined the root cause is not in our GPUs but in third-party software." A Qualcomm representative said "the issue isn't in our threat model as it more directly affects the browser and can be resolved by the browser application if warranted, so no changes are currently planned." Apple, Nvidia, AMD, and ARM didn't comment on the findings.

An informational write-up of the findings can be found here.
This discussion has been archived. No new comments can be posted.

GPUs From All Major Suppliers Are Vulnerable To New Pixel-Stealing Attack

Comments Filter:
  • Software Issue (Score:5, Insightful)

    by Vomitgod ( 6659552 ) on Tuesday September 26, 2023 @06:50PM (#63879581)

    "An Intel representative, meanwhile, said that the chipmaker has "assessed the researcher findings that were provided and determined the root cause is not in our GPUs but in third-party software." A Qualcomm representative said "the issue isn't in our threat model as it more directly affects the browser and can be resolved by the browser application if warranted, so no changes are currently planned."

    but lets leave the headline falsely claiming its a GPU issue....

    • I warned them all that iframes were a bad idea...

      • that is why i am a very difficult web developer to work with.

        client tells me:
        why can't I have SoundCloud on my website? So I can upload songs all by myself
        why so controlling?

        because: security.

        i just dunno how or why.
        having an iframe load external sites seems like a bad idea.
        plus it makes a website look cheap / tacky.

        tomorrow the external resource might be hacked or go offline.
        then things will look pretty bad.

      • It depends. They are very useful when you control both the site where the iframe is and the site inside the iframe, when you want to integrate content from these two sites in a simple way (and remember again, you have control of both sites).

        The problem arises when you want to load into the iframe the content of a site over which you have no control and where you can't even trust the author of the site in question, then you're going to have problems.
    • Re:Software Issue (Score:5, Informative)

      by darkain ( 749283 ) on Tuesday September 26, 2023 @06:55PM (#63879589) Homepage

      Doubling up on your statement, from TFA:

      "Under-the-hood differences in the way Firefox and Safari work prevent the attack from succeeding when those browsers process an attack page."

      • I'm also curious as to whether this is OS-dependant as well. I know firefox uses the same engine across platforms, but how it interfaces with the gpu and drivers is going to be different between platforms (i.e, Windows vs Linux vs macOS). TFA does not mention this, aside from the generic prerequisites for an attack surface.

        • by Anonymous Coward

          I'm also curious as to whether this is OS-dependant as well.

          I think this may answer your question.
          "All of the GPUs analyzed use proprietary forms of compression to optimize the bandwidth available in the memory data bus of the PC, phone, or other device displaying the targeted content. The compression schemes differ from manufacturer to manufacturer and are undocumented, so the researchers reverse-engineered each one."

          I think this is also an important tidbit.
          "As noted earlier, GPU.zip works only when the malicious attacker website is loaded into Chrome or Edge. The

        • by Khyber ( 864651 )

          "I'm also curious as to whether this is OS-dependant as well."

          No, FireFox and Safari simply do not allow cross-site injection garbage like Chromium browsers allow.

          • That still does not answer the question of whether or not Chrome/Chromium for Linux is going to be affected. Linux drivers and APIs trend towards being more security focused (Aging X11 stack aside)

    • Re:Software Issue (Score:5, Insightful)

      by m2pc ( 546641 ) on Tuesday September 26, 2023 @07:38PM (#63879675) Homepage
      From the research paper:

      This paper challenges the above conventional wisdom by demonstrating the existence of, and exploiting, software-transparent uses of compression. Specifically, we find that integrated GPUs from Intel and AMD vendors compress graphical data in vendor-specific and undocumented ways — even when software does not specifically request compression. Compression induces data-dependent DRAM traffic and cache utilization, which can be measured through side-channel analysis. We show the efficacy of this side channel by performing cross-origin SVG filter pixel stealing attacks through the browser.

      and

      The technical core of the paper is a detailed investigation of integrated GPU (iGPU)-based software-transparent lossless compression schemes deployed on Intel and AMD processors.

      This definitely seems to be GPU-related, even if it's an "iGPU"...

      • by Burz ( 138833 )

        Yeah, but most people probably should have something like first-party isolation enabled anyway. That would prevent the targeted site in the iframe from accessing any cookies or cache that is available when the target domain is displayed in the Location Bar. The attacking site would see a "you're not logged in" version of the target site... https://www.ghacks.net/2017/11... [ghacks.net]

    • Re:Software Issue (Score:5, Insightful)

      by rudy_wayne ( 414635 ) on Tuesday September 26, 2023 @07:45PM (#63879685)

      ...a malicious page must be loaded into the Chrome or Edge browsers. Under-the-hood differences in the way Firefox and Safari work prevent the attack from succeeding

      This is not a GPU problem, it is a bug in Chrome.

      • by AmiMoJo ( 196126 )

        It's not a bug, it's the GPU not behaving in the way that the API implies it will. Chrome does not ask for the data to be compressed, but the GPU (or rather the driver) does it anyway. It's particularly an issue on integrated GPUs, which share system RAM, presumably because they benefit greatly from both reducing the amount of memory used and the amount of memory bandwidth required.

        The compression results in data becoming extractable via a side-channel attack.

        It was not unreasonable for the Chrome developer

    • Why it seems like only a day or two ago headlines were announcing the Inaugural Brightline train run, Kills Pedestrian while failing to clarify the dead pedestrian was laying on a completely different railroad track, in front of a completely different train.

      And now today, it's not merely a "GPU issue" but GPUs from all six of the major suppliers" being shit on at once?

      Just how many stock prices we gonna try and crash this week with clickbait bullshit?

  • And since they can't blame your xwindows session anymore.....
  • Headline and report is clickbait.
    • They do direct rendering now - check the thread names on your browser.

      At least SuperMicro cheaped out and put a Matrox chip on my Intel servers!

  • What about Chromium? (Score:5, Interesting)

    by Mononymous ( 6156676 ) on Tuesday September 26, 2023 @07:08PM (#63879617)

    As written, TFS claims this is a vulnerability in proprietary software. Yawn.
    If Chromium is also affected, that's a problem.

  • by ceoyoyo ( 59147 ) on Tuesday September 26, 2023 @07:12PM (#63879629)

    So Google's browser has a vulnerability that lets cross-origin iframes steal information. I wonder where most cross-origin iframes come from? Google Ads maybe?

  • And avoid all that overhead?

  • by Burz ( 138833 ) on Wednesday September 27, 2023 @12:29AM (#63880101) Homepage Journal

    First-party isolation (if it is turned on) should prevent "site B" identity from being accessed via cookies, because the FPI context of site A (the iframe embedder) won't have access to the cookie/cache storage that is used when site B is visible in the Location Bar. So the embedded iframe of the target site (B) would not display personal information, but instead show the page as if you needed to login.

    Easiest way to turn on FPI in Firefox is to set Enhanced Tracking Protection to 'Strict' in Settings. It can also be specifically enabled via about:config.

  • So, only browsers designed to deliver ads and prevent ad blocking? Made by an advertising company. I'll keep this in mind if ever tempted to leave Firefox.
  • It seems blocking all third-party iframes can mitigate this issue, using this uBlock Origin rule:

    ||*^$subdocument,third-party

Make sure your code does nothing gracefully.

Working...