[pgAdmin][5919] Fix security related issues - Mailing list pgadmin-hackers

From Ganesh Jaybhay
Subject [pgAdmin][5919] Fix security related issues
Date
Msg-id CAK6syApbZRiHvJ9Z=mzAg6XPY79wWCPQsyBXo+3kut5UPUEsDA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][5919] Fix security related issues  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Hackers,

Please find the attached patch to fix the below security issues:
  • Host Header Injection - Added ALLOWED_HOSTS list to limit host address 
  • Lack of Content Security Policy (CSP) - Added security header
  • Lack of Protection Mechanisms - HSTS - Added security header
  • Lack of Cookie Attribute – Secure : Kept as False as secure limits cookies to HTTPS traffic only.
  • Information Disclosure – Web Server / Development Framework VersionDescription: Kept as hard coded 'Python' instead of exposing wsgi/python/gunicorn version info.
Please review and let me know if I have missed anything.

Regards,
Ganesh Jaybhay

Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin4][RM4232]: Change what is shown by default in tab titles
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin][5919] Fix security related issues