Bug 1219605 (CVE-2023-52138) - VUL-0: CVE-2023-52138: engrampa: arbitrary file write while handling CPIO archives
Summary: VUL-0: CVE-2023-52138: engrampa: arbitrary file write while handling CPIO arc...
Status: NEW
Alias: CVE-2023-52138
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Alexei Sorokin
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/393039/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-06 08:55 UTC by SMASH SMASH
Modified: 2024-02-06 09:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-06 08:55:04 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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52138
https://www.cve.org/CVERecord?id=CVE-2023-52138
https://github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970
https://github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7v