4 ms·
It's a nice list of items, but I don't feel like it's informed from actual penetration tests on Go apps. Bad Content-Type headers and DNS rebinding affect almos
by tshadwell 11y ago
It's a nice list of items, but I don't feel like it's informed from actual penetration tests on Go apps. Bad Content-Type headers and DNS rebinding affect almost every Go web application out there.
Any naked Go server is usually vulnerable to DNS rebinding because it doesn't test the Host header.
Edit: see also: http://0xdabbad00.com/2015/04/12/looking_for_security_trouble_spots_in_go_code/ http://0xdabbad00.com/2015/04/12/looking_for_security_troubl...
- dchest 11y agoThe first mentioned package, secure, has AllowedHosts option: https://stablelib.com/doc/v1/net/secure/#Options https://stablelib.com/doc/v1/net/secure/#Options I should add it to the post, thanks.