[svn-commits] file: tag 1.2.36 r227691 - /tags/1.2.36/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 4 13:14:15 CST 2009


Author: file
Date: Wed Nov  4 13:14:11 2009
New Revision: 227691

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227691
Log:
Fix a security issue where sending a REGISTER with a differing username in the From
URI and Authorization header would reveal whether it was valid or not.

(AST-2009-008)

Modified:
    tags/1.2.36/channels/chan_sip.c

Modified: tags/1.2.36/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/tags/1.2.36/channels/chan_sip.c?view=diff&rev=227691&r1=227690&r2=227691
==============================================================================
--- tags/1.2.36/channels/chan_sip.c (original)
+++ tags/1.2.36/channels/chan_sip.c Wed Nov  4 13:14:11 2009
@@ -6829,8 +6829,6 @@
 			   Asterisk uses the From: username for authentication. We need the
 			   users to use the same authentication user name until we support
 			   proper authentication by digest auth name */
-			transmit_response(p, "403 Authentication user name does not match account name", &p->initreq);
-			break;
 		case -3:	/* Unknown domain */
 		case -4:	/* ACL error */
 		case -5:	/* Peer is not supposed to register with us at all */




More information about the svn-commits mailing list