CVE-2023-52138
Mate-desktop Engrampa vulnerability
Engrampa is an archive manager for the MATE environment. Engrampa is found to be vulnerable to a Path Traversal vulnerability that can be leveraged to achieve full Remote Command Execution (RCE) on the target. While handling CPIO archives, the Engrampa Archive manager follows symlink, cpio by default will follow stored symlinks while extracting and the Archiver will not check the symlink location, which leads to arbitrary file writes to unintended locations. When the victim extracts the archive, the attacker can craft a malicious cpio or ISO archive to achieve RCE on the target system. This vulnerability was fixed in commit 63d5dfa.
Affected products
Engrampa. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mate-desktop Engrampa runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7v · Exploit
- github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970 · Patch
- lists.debian.org/debian-lts-announce/2024/02/msg00011.html
- lists.fedoraproject.org/archives/list/[email protected]/message/4IO
- nvd.nist.gov/vuln/detail/CVE-2023-52138
- cve.org/CVERecord?id=CVE-2023-52138
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.