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


[ GLSA 200411-33 ] TWiki: Arbitrary command execution


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Wed, 24 Nov 2004 10:01:35 +0100
From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org.>
To: gentoo-announce@gentoo.org
Subject: [ GLSA 200411-33 ] TWiki: Arbitrary command execution
Cc: bugtraq@securityfocus.com, full-disclosure@lists.netsys.com,
 security-alerts@linuxsecurity.com

--nextPart3687616.ztohsqJkHV
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200411-33
=2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
=2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: TWiki: Arbitrary command execution
      Date: November 24, 2004
      Bugs: #71035
        ID: 200411-33

=2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

A bug in the TWiki search function allows an attacker to execute
arbitrary commands with the permissions of the user running TWiki.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

TWiki is a Web-based groupware tool based around the concept of wiki
pages that can be edited by anybody with a Web browser.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package         /   Vulnerable   /                     Unaffected
    -------------------------------------------------------------------
  1  www-apps/twiki      < 20040902                       >=3D 20040902=20

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The TWiki search function, which uses a shell command executed via the
Perl backtick operator, does not properly escape shell metacharacters
in the user-provided search string.

Impact
=3D=3D=3D=3D=3D=3D

An attacker can insert malicious commands into a search request,
allowing the execution of arbitrary commands with the privileges of the
user running TWiki (usually the Web server user).

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All TWiki users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dwww-apps/twiki-20040902"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] TWiki Security Alert
        http://twiki.org/cgi-bin/view/Codev/SecurityAlertExecuteCommandsWit=
hSearch
  [ 2 ] CAN-2004-1037
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2004-1037

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

  http://security.gentoo.org/glsa/glsa-200411-33.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D

Copyright 2004 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.0

--nextPart3687616.ztohsqJkHV
Content-Type: application/pgp-signature

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

iD8DBQBBpE30zKC5hMHO6rkRAkRkAJ0VBaivABlAaxjPkY0kTVxKAIDXBACfUWXu
49J84r1kbO7ehqybxUj9Zb4=
=BBvv
-----END PGP SIGNATURE-----

--nextPart3687616.ztohsqJkHV--


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



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

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