Paper/Archive/CVE-2023-45673

CVE-2023-45673

laurent22 joplin — Arbitrary code execution on click of PDF links in Joplin

Description · from the CVE record

Joplin is a free, open source note taking and to-do application. A remote code execution (RCE) vulnerability in affected versions allows clicking on a link in a PDF in an untrusted note to execute arbitrary shell commands. Clicking links in PDFs allows for arbitrary code execution because Joplin desktop: 1. has not disabled top redirection for note viewer iframes, and 2. and has node integration enabled. This is a remote code execution vulnerability that impacts anyone who attaches untrusted PDFs to notes and has the icon enabled. This issue has been addressed in version 2.13.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected

ProductAffectedFixed inSource
joplin< 2.13.3–CNA
joplin< 2.13.32.13.3CISA-ADP

Scores by source

NVD9.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub_M (CNA)8.9CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refgithub.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59refdeveloper.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox