[asterisk-commits] file: branch 1.2 r227698 - /branches/1.2/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 4 13:16:37 CST 2009
Author: file
Date: Wed Nov 4 13:16:33 2009
New Revision: 227698
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227698
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:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=227698&r1=227697&r2=227698
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Wed Nov 4 13:16:33 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 asterisk-commits
mailing list