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


[ GLSA 200410-26 ] socat: Format string vulnerability


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Mon, 25 Oct 2004 12:10:05 -0400
From: Luke Macken <[email protected]>
To: [email protected]
Subject: [ GLSA 200410-26 ] socat: Format string vulnerability
Cc: [email protected], [email protected],
 [email protected]


--=-cAfYkASRtrlyww7l3vXE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200410-26
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: socat: Format string vulnerability
      Date: October 25, 2004
      Bugs: #68547
        ID: 200410-26

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

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

socat contains a format string vulnerability that can potentially lead
to remote or local execution of arbitrary code with the privileges of
the socat process.

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

socat is a multipurpose bidirectional relay, similar to netcat.

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

    -------------------------------------------------------------------
     Package         /  Vulnerable  /                       Unaffected
    -------------------------------------------------------------------
  1  net-misc/socat      < 1.4.0.3                          >=3D 1.4.0.3

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

socat contains a syslog() based format string vulnerablility in the
'_msg()' function of 'error.c'. Exploitation of this bug is only
possible when socat is run with the '-ly' option, causing it to log
messages to syslog.

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

Remote exploitation is possible when socat is used as a HTTP proxy
client and connects to a malicious server. Local privilege escalation
can be achieved when socat listens on a UNIX domain socket. Potential
execution of arbitrary code with the privileges of the socat process is
possible with both local and remote exploitations.

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

Disable logging to syslog by not using the '-ly' option when starting
socat.

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

All socat users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dnet-misc/socat-1.4.0.3"

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

  [ 1 ] socat Security Advisory
        http://www.dest-unreach.org/socat/advisory/socat-adv-1.html

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-200410-26.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
[email protected] 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/1.0

--=-cAfYkASRtrlyww7l3vXE
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBBfSVdRsm3eDkOu7kRAqwLAKCXUAuZ/AJ4bdTohy6HF2+iqqc1eQCfX0np
FgTOdLL0crpyupBFYm8yh/8=
=od8O
-----END PGP SIGNATURE-----

--=-cAfYkASRtrlyww7l3vXE--

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



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

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