[svn-commits] file: tag 1.6.0.17 r227694 - /tags/1.6.0.17/channels/chan_sip.c

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


Author: file
Date: Wed Nov  4 13:15:06 2009
New Revision: 227694

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227694
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.6.0.17/channels/chan_sip.c

Modified: tags/1.6.0.17/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/tags/1.6.0.17/channels/chan_sip.c?view=diff&rev=227694&r1=227693&r2=227694
==============================================================================
--- tags/1.6.0.17/channels/chan_sip.c (original)
+++ tags/1.6.0.17/channels/chan_sip.c Wed Nov  4 13:15:06 2009
@@ -11238,8 +11238,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 AUTH_NOT_FOUND:
 		case AUTH_PEER_NOT_DYNAMIC:
 		case AUTH_ACL_FAILED:




More information about the svn-commits mailing list