Debian Bug report logs -
#891469
awstats: Path traversal in config parameter if site config is missing (CVE-2020-29600)
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>
:
Bug#891469
; Package awstats
.
(Sun, 25 Feb 2018 20:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Tomaž Šolc <tomaz.solc@tablix.org>
:
New Bug report received and forwarded. Copy sent to Debian QA Group <packages@qa.debian.org>
.
(Sun, 25 Feb 2018 20:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: awstats
Version: 7.6+dfsg-2
Severity: normal
Dear Maintainer,
the patch for CVE-2017-1000501 seems to have been incomplete. Please see this
report upstream:
https://github.com/eldy/awstats/issues/90
awstats will parse arbitrary files passed in the "config" parameter if the
default /etc/awstats/awstats.conf is not present. Debian package will install
awstats.conf, so a default install does not seem to be vulnerable. However it
is possible to use awstats with separate configs for different sites without
the default awstats.conf (although README.Debian recommends leaving
awstats.conf in place)
I can confirm that the reported issue exists in awstats 7.6+dfsg-2 and
7.6+dfsg-1+deb9u1.
Steps to reproduce (on Stretch)
# apt-get install awstats
# rm /etc/awstats/awstats.conf
# cp /usr/share/doc/awstats/examples/apache.conf /etc/apache2/conf-available/awstats.conf
# a2enconf awstats
# systemctl reload apache2
Visit http://localhost/cgi-bin/awstats.pl?config=/etc/passwd
-- System Information:
Debian Release: 9.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages awstats depends on:
ii perl 5.24.1-3+deb9u2
Versions of packages awstats recommends:
ii libnet-xwhois-perl 0.90-4
Versions of packages awstats suggests:
ii apache2 [httpd] 2.4.25-3+deb9u3
pn libgeo-ipfree-perl <none>
ii libnet-dns-perl 1.07-1
ii libnet-ip-perl 1.26-1
ii liburi-perl 1.71-1
-- Configuration Files:
/etc/awstats/awstats.conf [Errno 2] No such file or directory: '/etc/awstats/awstats.conf'
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>
:
Bug#891469
; Package awstats
.
(Sat, 21 Nov 2020 23:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Sylvain Beucler <beuc@beuc.net>
:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>
.
(Sat, 21 Nov 2020 23:21:02 GMT) (full text, mbox, link).
Message #10 received at 891469@bugs.debian.org (full text, mbox, reply):
Hi,
Since awstats is currently unmaintained, can you request a new CVE for
this at https://cveform.mitre.org/ ?
This way it'll be properly monitored and taken care of in distros.
Cheers!
Sylvain
On Sun, 25 Feb 2018 21:33:34 +0100 =?utf-8?b?VG9tYcW+IMWgb2xj?=
<tomaz.solc@tablix.org> wrote:
> Package: awstats
> Version: 7.6+dfsg-2
> Severity: normal
>
> Dear Maintainer,
>
> the patch for CVE-2017-1000501 seems to have been incomplete. Please see this
> report upstream:
>
> https://github.com/eldy/awstats/issues/90
>
> awstats will parse arbitrary files passed in the "config" parameter if the
> default /etc/awstats/awstats.conf is not present. Debian package will install
> awstats.conf, so a default install does not seem to be vulnerable. However it
> is possible to use awstats with separate configs for different sites without
> the default awstats.conf (although README.Debian recommends leaving
> awstats.conf in place)
>
> I can confirm that the reported issue exists in awstats 7.6+dfsg-2 and
> 7.6+dfsg-1+deb9u1.
>
> Steps to reproduce (on Stretch)
>
> # apt-get install awstats
> # rm /etc/awstats/awstats.conf
> # cp /usr/share/doc/awstats/examples/apache.conf /etc/apache2/conf-available/awstats.conf
> # a2enconf awstats
> # systemctl reload apache2
>
> Visit http://localhost/cgi-bin/awstats.pl?config=/etc/passwd
>
>
> -- System Information:
> Debian Release: 9.3
> APT prefers stable
> APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages awstats depends on:
> ii perl 5.24.1-3+deb9u2
>
> Versions of packages awstats recommends:
> ii libnet-xwhois-perl 0.90-4
>
> Versions of packages awstats suggests:
> ii apache2 [httpd] 2.4.25-3+deb9u3
> pn libgeo-ipfree-perl <none>
> ii libnet-dns-perl 1.07-1
> ii libnet-ip-perl 1.26-1
> ii liburi-perl 1.71-1
>
> -- Configuration Files:
> /etc/awstats/awstats.conf [Errno 2] No such file or directory: '/etc/awstats/awstats.conf'
>
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>
:
Bug#891469
; Package awstats
.
(Sat, 21 Nov 2020 23:27:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Sylvain Beucler <beuc@beuc.net>
:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>
.
(Sat, 21 Nov 2020 23:27:02 GMT) (full text, mbox, link).
Message #15 received at 891469@bugs.debian.org (full text, mbox, reply):
> Since awstats is currently unmaintained, can you request a new CVE
> for this at https://cveform.mitre.org/ ?
(I meant the awstats Debian package is currently orphaned, awstats
itself is still maintained)
Added tag(s) security.
Request was from Salvatore Bonaccorso <carnil@debian.org>
to control@bugs.debian.org
.
(Tue, 08 Dec 2020 08:27:05 GMT) (full text, mbox, link).
Added tag(s) upstream.
Request was from Salvatore Bonaccorso <carnil@debian.org>
to control@bugs.debian.org
.
(Tue, 08 Dec 2020 08:27:05 GMT) (full text, mbox, link).
Changed Bug title to 'awstats: Path traversal in config parameter if site config is missing (CVE-2020-29600)' from 'awstats: Path traversal in config parameter if site config is missing.'.
Request was from Salvatore Bonaccorso <carnil@debian.org>
to control@bugs.debian.org
.
(Tue, 08 Dec 2020 19:57:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Dec 9 07:57:44 2020;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.