FreeBSD : ark -- directory traversal (d1ef1138-d273-11ea-a757-e0d55e2a8bf9)

low Nessus Plugin ID 139218

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

KDE Project Security Advisory reports : KDE Project Security AdvisoryTitle:Ark: maliciously crafted archive can install files outside the extraction directory.Risk Rating:ImportantCVE:CVE-2020-16116Versions:ark <= 20.04.3Author:Elvis Angelaccio <[email protected]>Date:30 July 2020Overview A maliciously crafted archive with '../' in the file paths would install files anywhere in the user's home directory upon extraction. Proof of concept For testing, an example of malicious archive can be found at https://github.com/jwilk/traversal-archives/releases/download/0/relati ve2.zip Impact Users can unwillingly install files like a modified .bashrc, or a malicious script placed in ~/.config/autostart Workaround Users should not use the 'Extract' context menu from the Dolphin file manager. Before extracting a downloaded archive using the Ark GUI, users should inspect it to make sure it doesn't contain entries with '../' in the file path. Solution Ark 20.08.0 prevents loading of malicious archives and shows a warning message to the users.

Alternatively, https://invent.kde.org/utilities/ark/-/commit/0df592524fed305d6fbe74dd f8a196bc9ffdb92f can be applied to previous releases. Credits Thanks to Dominik Penner for finding and reporting this issue and thanks to Elvis Angelaccio and Albert Astals Cid for fixing it.

Solution

Update the affected packages.

See Also

https://kde.org/info/security/advisory-20200730-1.txt

http://www.nessus.org/u?98fc6545

Plugin Details

Severity: Low

ID: 139218

File Name: freebsd_pkg_d1ef1138d27311eaa757e0d55e2a8bf9.nasl

Version: 1.4

Type: local

Published: 7/31/2020

Updated: 8/24/2020

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2020-16116

CVSS v3

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.9

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ark, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 7/30/2020

Vulnerability Publication Date: 7/30/2020

Reference Information

CVE: CVE-2020-16116