group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #15787
[Bug 1712948] Re: [CVE] KNewstuff downloads can install files outside the extraction directory
** Changed in: karchive (Ubuntu Xenial)
Status: New => In Progress
** Changed in: karchive (Ubuntu Xenial)
Assignee: (unassigned) => Simon Quigley (tsimonq2)
** Changed in: karchive (Ubuntu)
Assignee: Simon Quigley (tsimonq2) => (unassigned)
** Changed in: karchive (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1712948
Title:
[CVE] KNewstuff downloads can install files outside the extraction
directory
Status in karchive package in Ubuntu:
Fix Released
Status in karchive source package in Xenial:
In Progress
Bug description:
KDE Project Security Advisory
=============================
Title: karchive: KNewstuff downloads can install files outside the extraction directory.
Risk Rating: Important
CVE: CVE-2016-6232
Platforms: Linux / Mac / Windows
Versions: karchive < 5.24
Author: David Faure faure@xxxxxxx
Date: 24 July 2016
Overview
========
A maliciously crafted archive (.zip or .tar.bz2) with "../" in the file paths
could be offered for download via the KNewStuff framework (e.g. on www.kde-
look.org), and upon extraction would install files anywhere in the user's home
directory.
Proof of concept
================
For testing, an example of a malicious archive can be found at
http://www.davidfaure.fr/kde/tar_relative_path_outside_archive.tar.bz2
Impact
======
Users can unwillingly install files like a modified .bashrc, or a new .desktop
file associated to a common MIME type and executing a malicious command.
Workaround
==========
Users should not install anything via KNewStuff until KDE Frameworks 5.24,
or should at least inspect downloaded archives to make sure they don't contain
relative paths containing "../".
Solution
========
KArchive 5.24, released as part of KDE Frameworks 5.24, forbids archive
extraction from installing files outside the extraction directory.
Alternatively, commit 0cb243f in karchive.git can be applied to previous
releases.
Thanks to Andreas Cord-Landwehr for finding this issue and fixing it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/karchive/+bug/1712948/+subscriptions