Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68547 - net-misc/socat: logging format string vulnerability
Summary: net-misc/socat: logging format string vulnerability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: C1 [glsa+] lewk
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-22 07:28 UTC by Luke Macken (RETIRED)
Modified: 2011-10-30 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Macken (RETIRED) gentoo-dev 2004-10-22 07:28:16 UTC
TITLE:
socat "_msg()" Logging Format String Vulnerability

SECUNIA ADVISORY ID:
SA12936

VERIFY ADVISORY:
http://secunia.com/advisories/12936/

CRITICAL:
Highly critical

IMPACT:
Privilege escalation, System access

WHERE:
From remote

SOFTWARE:
socat 1.x
http://secunia.com/product/4126/

DESCRIPTION:
CoKi has reported a vulnerability in socat, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a format string error in the function "_msg()" in "error.c". This can be exploited to execute arbitrary code when socat is used as a HTTP proxy client and connects to a malicious server. This can also be exploited by a malicious, local user to gain escalated privileges when socat listens on a UNIX domain socket.

Successful exploitation requires that socat logs to syslog ("-ly"
command line option).

SOLUTION:
Update to version 1.4.0.3.
http://www.dest-unreach.org/socat/download/

Do not log to syslog.

PROVIDED AND/OR DISCOVERED BY:
CoKi

ORIGINAL ADVISORY:
Vendor:
http://www.dest-unreach.org/socat/advisory/socat-adv-1.html

CoKi:
http://www.nosystem.com.ar/advisories/advisory-07.txt
Comment 1 Luke Macken (RETIRED) gentoo-dev 2004-10-22 07:33:01 UTC
vapier,

you bumped this package last, could you please bump it again to 1.4.0.3.

thanks!
Comment 2 SpanKY gentoo-dev 2004-10-22 14:53:27 UTC
added to cvs as stable for all arches
Comment 3 Luke Macken (RETIRED) gentoo-dev 2004-10-22 21:25:19 UTC
Ready for GLSA.
Comment 4 Luke Macken (RETIRED) gentoo-dev 2004-10-24 16:29:01 UTC
GLSA drafted.

security, please review.
Comment 5 Luke Macken (RETIRED) gentoo-dev 2004-10-25 09:13:18 UTC
GLSA 200410-26