NetSight
hoch8.8Öffentlicher Exploit-Code

CVE-2024-4367

PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF

Öffentlicher Exploit-Code

Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.

Auswirkung

### Impact If pdf.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. ### Patches The patch removes the use of `eval`: https://github.com/mozilla/pdf.js/pull/18015 ### Workarounds Set the option `isEvalSupported` to `false`. ### References https://bugzilla.mozilla.org/show_bug.cgi?id=1893645

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmpdfjs-dist<= 4.1.3924.2.67

Betroffene Produkte

HerstellerProduktBetroffene Versionen
DebianDebian Linux
Version 10.0
MozillaFirefox
vor 115.11.0
vor 126.0
MozillaThunderbird
vor 115.11.0
Open-xchangeOpen-xchange Appsuite Frontend
vor 7.10.6
Version 7.10.6

Schwachstellenklasse

Referenzen