The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200606-06 ] AWStats: Remote execution of arbitrary code


<< Previous INDEX Search src / Print Next >>
From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org.>
To: gentoo-announce@gentoo.org
Subject: [ GLSA 200606-06 ] AWStats: Remote execution of arbitrary code
Date: Wed, 7 Jun 2006 20:59:10 +0200
User-Agent: KMail/1.9.3
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
Organization: Gentoo Linux Security Team
X-GPG-Key: http://home.coming.dk/skj.pub.gpg
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart5210374.Ng8TPE84hX";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200606072059.11420.jaervosz@gentoo.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru

--nextPart5210374.Ng8TPE84hX
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200606-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: High
     Title: AWStats: Remote execution of arbitrary code
      Date: June 07, 2006
      Bugs: #130487
        ID: 200606-06

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Synopsis
========

AWStats contains a bug in the sanitization of the input parameters
which can lead to the remote execution of arbitrary code.

Background
==========

AWStats is an advanced log file analyzer and statistics generator.

Affected packages
=================

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  net-www/awstats      < 6.5-r1                           >= 6.5-r1


Description
===========

Hendrik Weimer has found that if updating the statistics via the web
frontend is enabled, it is possible to inject arbitrary code via a pipe
character in the "migrate" parameter. Additionally, r0t has discovered
that AWStats fails to properly sanitize user-supplied input in
awstats.pl.

Impact
======

A remote attacker can execute arbitrary code on the server in the
context of the application running the AWStats CGI script if updating
of the statistics via web frontend is allowed. Nonetheless, all
configurations are affected by a cross-site scripting vulnerability in
awstats.pl, allowing a remote attacker to execute arbitrary scripts
running in the context of the victim's browser.

Workaround
==========

Disable statistics updates using the web frontend to avoid code
injection. However, there is no known workaround at this time
concerning the cross-site scripting vulnerability.

Resolution
==========

All AWStats users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-www/awstats-6.5-r1"


References
==========

  [ 1 ] CVE-2006-1945
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1945
  [ 2 ] CVE-2006-2237
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2237

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200606-06.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

--nextPart5210374.Ng8TPE84hX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEhyH/zKC5hMHO6rkRAiHmAJ0fF/wA9ONfPlCn5PDHc/UttYyHuACdGk/5
eX9r6ZT7jPis8Bf5RFr3Xbg=
=Q83Y
-----END PGP SIGNATURE-----

--nextPart5210374.Ng8TPE84hX--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру