Bug 2262839 (CVE-2023-52138) - CVE-2023-52138 engrampa: remote command execution via path traversal vulnerability
Summary: CVE-2023-52138 engrampa: remote command execution via path traversal vulnerab...
Status: NEW
Alias: CVE-2023-52138
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
Depends On: 2262840 2262841
TreeView+ depends on / blocked
Reported: 2024-02-05 17:35 UTC by Robb Gatica
Modified: 2024-02-05 17:35 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
A flaw was discovered in the Engrampa archive manager. By default, cpio will follow stored symlinks during extraction and Engrampa does not check the symlink location. An attacker can craft a malicious cpio or ISO archive that, when extracted by a user, can exploit the vulnerability to write files on locations such as ~/.ssh, ~/.bashrc, ~/.config/autostart/ etc., to achieve full remote command execution on the target/victim system.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Robb Gatica 2024-02-05 17:35:37 UTC
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.


Comment 1 Robb Gatica 2024-02-05 17:35:54 UTC
Created engrampa tracking bugs for this issue:

Affects: epel-all [bug 2262841]
Affects: fedora-all [bug 2262840]

Note You need to log in before you can comment on or make changes to this bug.