Link following in p7zip - CVE-2015-1038

 

Link following in p7zip - CVE-2015-1038

Published: August 3, 2020


Vulnerability identifier: #VU33137
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-1038
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to the application follows symlinks when extracting files. A remote attacker can create a specially crafted archive, trick the victim into opening it and overwrite arbitrary files on the system.


Affected software

p7zip
Fedora
p7zip

How to mitigate CVE-2015-1038

Install updates from vendor's website.

p7zip - update to 9.38
p7zip - addressed in versions 15.09-3.fc23, 15.09-4.el7, 15.09-4.fc22, 15.09-4.fc23, 15.09-9.el6, 15.09-9.el7

External References

Related Security Bulletins