My Home Assistant configuration… IT’S ALIVE

@ntalekt Thanks for sharing!

Your system in its current configuration may be vulnerable to authentication bypass

This section in your configuration.yaml

http:
  api_password: !secret ha_password
  trusted_networks:
    - 192.168.1.0/24
    - 127.0.0.1
  ip_ban_enabled: True
  login_attempts_threshold: 3
  use_x_forwarded_for: True

I warned about it here almost a year ago and yesterday an issue was opened in the HA git by a concerned user

I would remove the x-forwarded-for and trusted networks from the configuration when using reverse proxy.

2 Likes