okcashpro / okcash.co.website

https://okcash.co - Okcash community website
MIT License
0 stars 0 forks source link

Vulnerability Report(2): Missing Security Headers #2

Closed Liannajohn closed 1 year ago

Liannajohn commented 1 year ago

Hello team,

This is Lianna and I've found a security flaw in your website: https://okcash.co/

Description: Team, while testing your security headers, I've found many headers are missing such as,Strict-Transport-Security,X-Frame-Options, Content-Security-Policy, Referrer-Policy, X-Content-Type-Options andPermissions-Policy.

HTTP Strict Transport Security is an excellent feature to support on your site and strengthens your implementation of TLS by getting the User Agent to enforce the use of HTTPS. Recommended value "Strict-Transport-Security: max-age=31536000; includeSubDomains".

X-Content-Type-Options stops a browser from trying to MIME-sniff the content type and forces it to stick with the declared content-type. The only valid value for this header is "X-Content-Type-Options: nosniff".

X-Frame-Options tells the browser whether you want to allow your site to be framed or not. By preventing a browser from framing your site you can defend against attacks like clickjacking. Recommended value "X-Frame-Options: SAMEORIGIN".

Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets.

Referrer Policy is a new header that allows a site to control how much information the browser includes with navigations away from a document and should be set by all sites.

Permissions Policy is a new header that allows a site to control which features and APIs can be used in the browser.

Suggestion: You are required to fix all these headers in order to make your system much more stronger.

Thank you

Liannajohn commented 1 year ago

Hi team,

I received the response of Dev lead via email previously and asked me to submit my report here.

Here is my BSC wallet address for reward: 0xda8DFdfCBE116557d9743Dc09B3bfae3A7f8B604

oktoshi commented 1 year ago

We already implemented them, credited and added your OK donation address for the community on the commit.

Dealt at: https://github.com/okcashpro/okcash.co.website/commit/4789b7014f955d5834db49f858d0a9952f422915

Thanks for your suggestions and support to keep the OK environment more secure for the community.

Liannajohn commented 1 year ago

Hi team,

Is there any update regarding the reward transfer and how much my reward is decided for my contribution?