نسخههای متأثر
- نسخههای متأثر
- <= 4.1.392
- نسخهٔ اصلاحشده
- 4.2.67
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- نامشخص
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- <=1.15.5
- نسخهٔ اصلاحشده
- 1.15.6
- نسخههای متأثر
- <=1.3.14
- نسخهٔ اصلاحشده
- 1.3.15
- نسخههای متأثر
- <=3.6
- نسخهٔ اصلاحشده
- 3.6.1
- نسخههای متأثر
- <=4.0.2
- نسخهٔ اصلاحشده
- 4.0.3
- نسخههای متأثر
- <=4.7.1
- نسخهٔ اصلاحشده
- 4.8.0
- نسخههای متأثر
- <=2.1.21
- نسخهٔ اصلاحشده
- 2.1.22
- نسخههای متأثر
- <=2.9.3
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- <=1.3.2
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- <=2.1.8.1
- نسخهٔ اصلاحشده
- 2.2
- نسخههای متأثر
- <=0.21.5
- نسخهٔ اصلاحشده
- 0.21.6
- نسخههای متأثر
- <=2.7
- نسخهٔ اصلاحشده
- 2.8
بهرهبرداری
شرح آسیبپذیری
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
پیوندها
- http://seclists.org/fulldisclosure/2024/Aug/30
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js
- https://github.com/advisories/GHSA-wgrm-67xf-hhpq
- https://github.com/gogs/gogs/issues/7928
- https://github.com/mozilla/pdf.js
- https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6
- https://github.com/mozilla/pdf.js/pull/18015
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67
- https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-4367
- https://www.exploit-db.com/exploits/52273
- https://www.mozilla.org/security/advisories/mfsa2024-21
- https://www.mozilla.org/security/advisories/mfsa2024-22
- https://www.mozilla.org/security/advisories/mfsa2024-23
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8ce7aa01-7e79-4048-a84d-fcb9541d5f8b?source=api-prod
گزارشدهندگان
- ThomasRinsma
- Colin Xu
- James Myers (ConfidenceRemainsHigh)
- Codean Labs

