- Joined
- Oct 29, 2020
- Messages
- 12
- Reaction score
- 4
One of our clients has had a penetration test performed and one of the points that we have been asked to remediate is that 3CX is presenting the local IP address of the 3CX server in its response when hit on port 5060 externally. For example, if I run nmap with the following command:
I get results containing the following:
You can see in the "Contact" field that it lists 192.168.0.20 which is the internal IP address of the 3CX server itself.
Is there a way I can remove this information or have it respond with the external IP address instead?
Code:
nmap -p5060 -sV --script fingerprint-strings -v <EXTERNAL_IP>
I get results containing the following:
Code:
PORT STATE SERVICE VERSION
5060/tcp open sip (SIP end point; Status: 200 OK)
| fingerprint-strings:
| SIPOptions:
| SIP/2.0 200 OK
| Via: SIP/2.0/TCP nm;branch=foo;received=<MY_EXTERNAL_IP>
| Contact: <sip:192.168.0.20:5060;transport=tcp>
| <sip:nm2@nm2>;tag=7e047f09
| From: <sip:nm@nm>;tag=root
| Call-ID: 50000
| CSeq: 42 OPTIONS
| Accept: application/sdp
| Accept-Language: en
| Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE
| Supported: replaces, timer
| Allow-Events: presence, message-summary, dialog, call-info, line-seize
|_ Content-Length: 0
You can see in the "Contact" field that it lists 192.168.0.20 which is the internal IP address of the 3CX server itself.
Is there a way I can remove this information or have it respond with the external IP address instead?