Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by plingbang on Monday May 20, 2024 @08:58AM
(#40414981)
I remember MS Teams opening various files within itself instead of launching an appropriate program. I wonder what they're using for rendering PDFs.
Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by gostsamo on Monday May 20, 2024 @09:14AM
(#40415104)
At least edge uses a module from word as far as I know and I'd expect the same for teams. They likely are not affected.
Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by Gare on Monday May 20, 2024 @09:14AM
(#40415105)
That's why I use MS Teams (on desktop) via browser only. Keeps it nicely sandboxed.
Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by yencabulator on Monday May 20, 2024 @02:06PM
(#40418242)
And if they had used PDF.js incorrectly in the browser, it would allow XSS attacks on the domain used for MS Teams.
Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by mattsan on Monday May 20, 2024 @09:22AM
(#40415178)
Haven't tested but I'm almost certain the Electron app they're talking about is VS Code. Wouldn't make sense for a code editor to sandbox extensions
Re:CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
by notnullorvoid on Monday May 20, 2024 @02:04PM
(#40418208)
I don't believe they are talking about a VS Code extension embedding PDF.js but rather an Electron app that has PDF.js embedded by default. My guess is Slack.
> In applications that embed PDF.js, the impact is potentially even worse. If no mitigations are in place (see below), this essentially gives an attacker an XSS primitive on the domain which includes the PDF viewer. Depending on the application this can lead to data leaks, malicious actions being performed in the name of a victim, or even a full account take-over. On Electron apps that do not properly sandbox JavaScript code, this vulnerability even leads to native code execution (!). We found this to be the case for at least one popular Electron app.