Replies: 5 comments 3 replies
-
At a fundamental level the api used (xmlrpc) is god. There is no way around it unless/until pfsense has a proper api with fine-grained permissions. I am aware of non-standard apis like faux-api but find the security implications of that worse than using the supported/bulit-in xmlrpc api. In short, the api is currently all or nothing :( |
Beta Was this translation helpful? Give feedback.
-
Revisiting this, I noticed a post that the user credentials were stored in plain text. Is that still the case and if so could they be encrypted? |
Beta Was this translation helpful? Give feedback.
-
With the impact of providing admin rights to a firewall, and then saving the passwords in plain text, it seems there should be a better way. Is there some way for you to lead the charge to better security? I’m not sure what’s possible but I noticed a few users with the same concern. Thank you!RobertOn Jul 15, 2023, at 11:37 PM, Travis Glenn Hansen ***@***.***> wrote:
The credentials are stored the same as every other integration (core or plugin). Yes they are stored in a yaml file on disk unencrypted.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I did a bit of digging and think I may have found a way to limit the permissions scope made available to HA by pfSense. There is obviously a little more configuration required on the pfSense side to get it working but would be far more secure. Considering the skill levels of users managing pfSense firewalls the additional setup should not be a problem. I understand @travisghansen you don't have the time for this but would it be something I can try and look into and get your review feedback on the changes? I'm hoping the API's exposed are in the same format as the integration you are currently using. This would mean simply swapping the url that the API is calling (obviously, this just sounds too easy to be true but lets see) |
Beta Was this translation helpful? Give feedback.
-
Has there been any progress on read only access? I would really love to get dashboards for pfsense, but giving home assistant the ability to change settings on a firewall is just a bad idea. |
Beta Was this translation helpful? Give feedback.
-
Read Only PFsense Integration access option
Currently to use the integration it is required that "god" access is provided to the HA device connecting.
As any HA device has multiple integrations (supported and custom) and it being publicly accessible, there is a fairly high degree of Unauthorized access risk.
I'm hoping there is a way I can pull all the stats without the need to provide any access to modify the pfsense configuration?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions