How this template works
APIs Selection
The template uses API selection filters to specify the criteria for selecting the API requests to be executed. In this case, it filters the requests based on the response code (between 200 and 299) and the absence of the "secure" attribute in the "Set-Cookie" response header.
Execute request
The template executes a single request by modifying the URL using the value extracted from the "urlVar" variable. This allows the template to dynamically generate the request URL based on the previous response.
Validation
The template validates the response headers to ensure that the "Set-Cookie" header does not contain the "secure" attribute. It uses a regular expression to match any value that does not contain the word "secure". This validation helps identify potential cookie misconfigurations that could compromise the security and privacy of user information.
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable