JustaPenguin / assetto-server-manager

A web interface to manage an Assetto Corsa Server.
https://github.com/JustaPenguin/assetto-server-manager/releases
MIT License
276 stars 70 forks source link

Secure website interface (cookies) #1129

Open trnxtrnx opened 1 year ago

trnxtrnx commented 1 year ago

Hello. I use Asseto server manager on my server. I tried to run scan to my server with ESET VULNERABILITY ASSESSMENT and there were founded some middle severity vulnerabilities. First was "Missing 'HttpOnly' Cookie Attribute (HTTP)" and second "Missing 'Secure' Cookie Attribute (HTTP)".

Is possible to secure it? These warns are presented only for this web app. Other websites, which run on Apache are without the problem. Below I added some report (screenshots) of the scan.

httponly secure

trnxtrnx commented 1 year ago

Here is a link for article on OWASP where is examples for different languages including Go. https://owasp.org/www-community/controls/SecureCookieAttribute