Linux Mint Xreader EPUB File Parsing Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Mint Xreader. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of EPUB files. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-21897.
A flaw has been found in Linux Mint Xreader up to 4.6.5. This issue affects the function setupdocumentcontentlist/gstrdupprintf of the file backend/epub/epub-document.c of the component EPUB File Handler. This manipulation causes path traversal. The attack is possible to be carried out remotely. The exploit has been published and may be used. Upgrading to version 4.6.6 is capable of addressing this issue. Patch name: a5aecea074e8564b7a22f1ce054b31ec862974b7. It is advisable to upgrade the affected component. One of the project maintainers explains, that "EPUB support was removed from Xreader and reimplemented in Xepub".
A vulnerability has been found in Linux Mint Xreader up to 4.6.9. Impacted is the function gfilegetchild of the file shell/ev-window.c of the component PDF Attachment Saving Handler. Such manipulation of the argument attachment leads to path traversal. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. One of the project maintainers closed this issue as "completed", because "EPUB support was removed from Xreader and reimplemented in Xepub". Code analysis indicates that this might be a misunderstanding of the situation.
End of life: 4/30/2027
End of life: 4/30/2027
End of life: 5/3/2021
End of life: 5/3/2021
End of life: 4/30/2027
End of life: 4/30/2027
End of life: 4/30/2025
End of life: 4/30/2025
End of life: 4/30/2025
End of life: 4/30/2025
End of life: 4/1/2021
End of life: 4/1/2021
End of life: 4/30/2027
End of life: 4/30/2027
End of life: 4/30/2027
End of life: 4/30/2027
End of life: 4/1/2023
End of life: 4/1/2023
End of life: 4/1/2023
End of life: 4/1/2023
End of life: 7/1/2024
End of life: 7/1/2024
End of life: 4/30/2025
End of life: 4/30/2025
End of life: 4/1/2023
End of life: 4/1/2023
End of life: 4/30/2025