Closed vysecurity closed 1 year ago
You can enable auth using nginx or any reverse proxy you are using ˆˆ
If you host an externally accessible ntfy server. Couldn't someone brute force the subscription names
If you don't have ACLs set up, the topic name is your password, it says so everywhere. If you choose a easy-to-guess/dumb topic name, people will be able to guess it. If you choose a randomly generated topic name, the topic is as good as a good password.
As for brute forcing: it's not possible to brute force a ntfy server for very long, as you'll get quickly rate limited. For ntfy.sh, there's even a fail2ban in place which will ban your IP pretty quickly. Even without that, brute forcing a random 10 digit topic name would take years.
Why is it not "secure by default"?
If you host an externally accessible ntfy server. Couldn't someone brute force the subscription names to:
1) Read the subscription
2) SPAM your subscription
?
There doesn't appear to be any authentication by default. It's publicly accessible by default.
Why is it not "secure by default"?