Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Shows how to test web apps for session variables leaked via URLs, errors, Referer headers, browser storage, logs, hidden fields, or caches.
Use this skill ↓82% 95%+14 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 18 of 22 without it.
We need to update our Nginx reverse proxy configuration to prevent proxy and client caching for the authenticated `/dashboard` endpoint. What Nginx directives and header values should be added to the location block?
sets Nginx Cache-Control header to no-store, no-cache, must-revalidate, private
3 of 3 safety checks passed
WSTG-SESS-04
Testing for Exposed Session Variables
Session variables may be exposed through various channels including URLs, error messages, logs, HTTP headers, or client-side storage. Exposure of session tokens or sensitive session data can lead to session hijacking, information disclosure, or account takeover. This test identifies instances where session-related information is unintentionally disclosed.
#!/bin/bash
TARGET="https://target.com"
# Check for session in URL after login
response=$(curl -sI -X POST "$TARGET/login" \
-d "username=test&password=test" \
-L 2>&1)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.