Path traversal in libarchive



Published: 2015-03-15 | Updated: 2020-08-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-2304
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libarchive
Client/Desktop applications / Software for archiving

Vendor libarchive

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU33270

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-2304

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.

Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libarchive: 3.1.0 - 3.1.2

External links

http://advisories.mageia.org/MGASA-2015-0106.html
http://lists.opensuse.org/opensuse-updates/2015-03/msg00065.html
http://www.debian.org/security/2015/dsa-3180
http://www.mandriva.com/security/advisories?name=MDVSA-2015:157
http://www.openwall.com/lists/oss-security/2015/01/07/5
http://www.openwall.com/lists/oss-security/2015/01/16/7
http://www.securitytracker.com/id/1035996
http://www.ubuntu.com/usn/USN-2549-1
http://github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
http://github.com/libarchive/libarchive/pull/110
http://groups.google.com/forum/#!msg/libarchive-discuss/dN9y1VvE1Qk/Z9uerigjQn0J
http://security.gentoo.org/glsa/201701-03
http://www.freebsd.org/security/advisories/FreeBSD-SA-16:22.libarchive.asc


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted archive.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###