phishing-frenzy icon indicating copy to clipboard operation
phishing-frenzy copied to clipboard

Security enhancements

Open seeingidog opened this issue 10 years ago • 8 comments

This is the result of a security audit run on PF and suggestions it has generated. This is also in preparation to possibly use in a multi-tenant environment.

Feel free to cherry-pick commits, I realize some commits take away original functionality.

Thank you for Phishing Frenzy!

seeingidog avatar Jan 22 '15 18:01 seeingidog

This is great stuff man, thanks for the contribution! All the commits look very feasible. The only one that I might have some push back on is the Code Injection through the Apache commands. I completely understand the risk associated with it, but perhaps there is a secure way we can handle allowing different commands to be run for different operating systems?

zeknox avatar Jan 22 '15 18:01 zeknox

The other item I thought of is if we are going to lock accounts should we provide a way to unlock the account through the "user management" section of PF?

zeknox avatar Jan 22 '15 21:01 zeknox

Regarding the Apache commands: The only thought that comes to mind is to move global configuration to a settings file instead of database. No worries on pushing back on that commit this time around, Can take our time on solving that issue.

Good call on the admin UI to unlock accounts, I've added that functionality.

Thanks!

seeingidog avatar Jan 22 '15 23:01 seeingidog

Awesome, thanks for adding that UI functionality to unlock. Yeah I concur that some sort of settings.yml file to change the apache commands is a good approach.

If I'm gonna be really nit picky, it looks like the tab indentations don't align with the code properly (based on what github is showing me).

zeknox avatar Jan 22 '15 23:01 zeknox

No worries, that was ugly.

seeingidog avatar Jan 22 '15 23:01 seeingidog

couple last indent issues and we should be good to go here! I'll probably take this branch and add in some sort of settings.yaml file to load in the apache commands.

zeknox avatar Jan 22 '15 23:01 zeknox

Howdy!

Pushed a commit last week fixing the last indent issues (I think), Let me know if you need anything else with this code to get it on your master branch. Thanks.

seeingidog avatar Jan 26 '15 11:01 seeingidog

Appreciate for the updates here. I do plan to take advantage of these commits soon. Thanks in advance for being patient while I test and tweak.

zeknox avatar Jan 29 '15 17:01 zeknox