Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 583311 Details for
Bug 790940
CVE-2012-0862 xinetd: enables unintentional services over tcpmux port
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for CVE-2012-0862 as provided by Thomas Swan of FedEx. Reviewed by a former xinetd upstream maintainer and the current Red Hat xinetd maintainer.
xinetd-2.3.14-tcpmux-nonmux-security.patch (text/plain), 1.52 KB, created by
Stefan Cornelius
on 2012-05-09 14:27:31 UTC
(
hide
)
Description:
Patch for CVE-2012-0862 as provided by Thomas Swan of FedEx. Reviewed by a former xinetd upstream maintainer and the current Red Hat xinetd maintainer.
Filename:
MIME Type:
Creator:
Stefan Cornelius
Created:
2012-05-09 14:27:31 UTC
Size:
1.52 KB
patch
obsolete
>--- xinetd-2.3.14/xinetd/builtins.c.old 2012-02-15 16:29:48.263844700 -0600 >+++ xinetd-2.3.14/xinetd/builtins.c 2012-02-15 16:37:52.209594438 -0600 >@@ -560,17 +560,16 @@ > /* Found the pointer. Validate its type. > */ > scp = SVC_CONF( sp ); >-/* >- if ( ! SVC_IS_MUXCLIENT( sp ) ) >+ >+ if ( ! SVC_IS_MUXCLIENT( sp ) && ! SVC_IS_MUXPLUSCLIENT( sp ) ) > { > if ( debug.on ) > { > msg(LOG_DEBUG, "tcpmux_handler", "Non-tcpmux service name: %s.", > svc_name); > } >- exit(0); >+ continue; > } >-*/ > > /* Send the accept string if we're a PLUS (+) client. > */ >@@ -597,6 +596,19 @@ > msg(LOG_DEBUG, "tcpmux_handler", "Service name %s not found.", > svc_name); > } >+ >+ /* If a service was not found, we should say so. */ >+ if ( Swrite( descriptor, TCPMUX_NOT_FOUND, sizeof( TCPMUX_NOT_FOUND ) ) != >+ sizeof ( TCPMUX_NOT_FOUND ) ) >+ { >+ msg(LOG_ERR, "tcpmux_handler", "Not found write failed for %s.", >+ svc_name); >+ exit(0); >+ } >+ >+ /* Flush and exit, nothing to do */ >+ Sflush( descriptor ); >+ Sclose( descriptor ); > exit(0); > } > >--- xinetd-2.3.14/xinetd/service.h.old 2012-02-15 16:29:34.186942629 -0600 >+++ xinetd-2.3.14/xinetd/service.h 2012-02-15 16:30:19.009446694 -0600 >@@ -114,2 +114,3 @@ > #define TCPMUX_ACK "+Go\r\n" >+#define TCPMUX_NOT_FOUND "-Service name not found\r\n" > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 790940
: 583311 |
799731