CVE-2016-6232
High · 7.5CVSS
7.5
EPSS
4.4%
Published
Aug 2, 2016
CISA due date
—
Cloudanix analysis
A problem with handling compressed files could let outsiders place files anywhere on the computer, which might let them take control or damage the system.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Data Tampering
- Component
- Library
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows remote attackers to write to arbitrary files via path traversal sequences such as ../ in archive filenames processed by the vulnerable component before version 5.24.
Why it matters to the business
Attackers can overwrite critical files on affected Debian systems running varnish, leading to potential service disruption, unauthorized code execution, or full system compromise; the issue has been public for over a decade with exploits available though low and stable exploitation probability.
How an attack unfolds
An attacker crafts a malicious archive embedding ../ sequences in filenames, delivers it through download or processing flows such as those related to KNewsstuff, and triggers extraction to write files outside the intended directory on the target system.
How to fix it
Upgrade varnish to the fixed version 2.1.0-2 or later on Debian 10 through 14.
How to confirm the fix worked
Confirm installed varnish package version is 2.1.0-2 or newer using the system package manager and verify no older vulnerable versions remain.
Typical attack path
- Craft archive containing files with ../ path traversal in filenames
- Deliver the archive to the target system via network download or similar mechanism
- Trigger archive processing in the vulnerable component
- Achieve arbitrary file writes to unintended locations
How to detect it
Examine logs from archive processing and file extraction components for evidence of path traversal sequences; review file system changes and download histories from the period of exposure given the vulnerability's age and public exploit availability.
What your security team should do
- Apply the listed package upgrades across all affected Debian installations without delay
- Audit archive handling and download processes for exposure to untrusted files
- Review historical system activity for signs of prior exploitation given the age and exploit availability
The record
Directory traversal vulnerability in KArchive before 5.24, as used in KDE Frameworks, allows remote attackers to write to arbitrary files via a ../ (dot dot slash) in a filename in an archive file, related to KNewsstuff downloads.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | karchive | 0 | 5.24.0-1 |
| Debian:12 | karchive | 0 | 5.24.0-1 |
| Debian:13 | karchive | 0 | 5.24.0-1 |
| Debian:7 | kde4libs | 0 | 4:4.8.4-4+deb7u2 |
| Debian:8 | kde4libs | 0 | 4:4.14.2-5+deb8u1 |
| SUSE:Package Hub 12 SP1 | karchive | 0 | 5.20.0-6.1 |
| Ubuntu:14.04:LTS | kde4libs | 0 | 4:4.13.3-0ubuntu0.3 |
| Ubuntu:16.04:LTS | karchive | 0 | 5.18.0-0ubuntu1.1 |
| Ubuntu:16.04:LTS | kconfig | 0 | 5.18.0-0ubuntu1.1 |
| Ubuntu:16.04:LTS | kde4libs | 0 | 4:4.14.16-0ubuntu3.3 |
| Ubuntu:18.04:LTS | kconfig | 0 | 5.44.0-0ubuntu1.1 |
| Ubuntu:18.04:LTS | kde4libs | 0 | 4:4.14.34-0ubuntu2 |
| Ubuntu:18.04:LTS | kde4libs | 0 | 4:4.14.38-0ubuntu3.1 |
Related vulnerabilities
- CVE-2017-8422 KDE kdelibs before 4.14.32 and KAuth before 5.34 allow local users to gain root… Also affects kde4libs
- CVE-2017-6410 kpac/script.cpp in KDE kio before 5.32 and kdelibs before 4.14.30 calls the PAC… Also affects kde4libs
- CVE-2014-5033 KDE kdelibs before 4.14 and kauth before 5.1 does not properly use D-Bus for… Also affects kde4libs
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22