Provisioning file publicly accessible

sanch6

Silver Partner
Advanced Certified
Joined
Jul 5, 2024
Messages
71
Reaction score
28
Hello,

This might be a silly question, but I have a 3CX instance in the cloud (on Azure) and have added a Grandstream gateway. The gateway uses a provisioning link that points to an XML file. If I paste this link into my browser, I can see the credentials in plain text. Isn't this a bit problematic?
What if, for some reason, a bot or some other entity happens to come across this URL?
Could someone actually do anything with the credentials found in that file?

Thanks for your insights, sorry if this is a silly question and have a great weekend.
 
The file needs to be public. However, that's why the URL contains a random string, called the provisioning folder, which prevents randomly accessing the file without having its exact URL. The chances of a bot finding it is small.

Also, gateways connect locally or via SBC, so even if someone has the credentials, they won't be able to do much.
 
Hi @sanch6 in adition to what @Evolute IT said, you can also enable the parameter secure device provisioning files using unique keys, this will make that every device has its own URL making the process even harder to get the specific provisioning file.

1795193531635.png
 
Hello, thanks for your answers !

I just made the test with information available in the XML and I'm able to provision a SIP client (like Zoiper) and make calls if the option "Block remote non-tunnel connections (Insecure!)" is disabled. Is this option the only way to prevent fraudulent use ?

Does this option need to be enabled (block) or disabled (no blocking) in order to provision router phones? Because I remember having cases where it is disabled.

I'm also considering the option suggested by @Alejandro_3CX, but what is the impact on production systems if I enable it now ? Is the unique key managed by the system directly ?

Thanks again.
Best regards.
 
Hello, thanks for your answers !

I just made the test with information available in the XML and I'm able to provision a SIP client (like Zoiper) and make calls if the option "Block remote non-tunnel connections (Insecure!)" is disabled. Is this option the only way to prevent fraudulent use ?

Does this option need to be enabled (block) or disabled (no blocking) in order to provision router phones? Because I remember having cases where it is disabled.

I'm also considering the option suggested by @Alejandro_3CX, but what is the impact on production systems if I enable it now ? Is the unique key managed by the system directly ?

Thanks again.
Best regards.
Block remote non-tunnel is on my default - It prevents STUN and isnt needed for SBC.

Enabling the secure link wont affect current phones, the link will be generated on any new phones added, so you'd have to delete / add the phones again to get the new link.
 

Latest Posts

Forum statistics

Threads
112,567
Messages
593,342
Members
165,785
Latest member
sdutz