Posts

Showing posts from October, 2021

Top 6 HTTP Headers that improve your site security.

 S ecurity is a really important thing but almost we don’t care when building applications. There are a lot of essential security practices, But in this story, I am going to talk about   HTTP Security Headers. In  HTTP requests , Headers hold the metadata about the request/response. Apart from that, Some  HTTP Headers  are used to enforce some security mechanisms. Okay, Let’s jump into the topic… HTTP Strict Transport Security (HSTS) Most websites use  HTTPS  nowadays. Th a t’s really good. But some sites don’t force users to communicate via  HTTPS . Instead, they work on both  HTTP  and  HTTPS . This is really bad. Because Still, they are giving an option to communicate non-securely. HSTS header  helps us to force users to access the site via  HTTPS  only. So basically, When the browser finds this header, It will change the connection to  HTTPS  even if the user tries to access it via  HTTP . Strict-Tr...

Misconfiguration in Change-password Functionality Leads to Account Takeover

Image
  Misconfiguration in Change-password Functionality Leads to Account Takeover Hello everyone , Sasikaran (0xwhitedevil) and this is our first Write-Up ever. This Write-Up describes How we could Takeover any account on a site using some misconfigurations in Change-Password Functionality. We were testing a private program so let’s call it  site.com ,  so let’s start our Journey. While going throw the sandbox environment that is for testing porous ( sandbox.site.com ) we notice a change password function. So we opened the Burb-Suite and intercept the request looking for any issue and we catch this request and start analyzing it So as you   can see we found this Header (X_auth_credentials) that have the same value of the parameter (current Password) in the request body which insure that, If you want to change your current password you must first enter your current password then enter the new password. So we start to ask some questions, What about this header? Does the S...