Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Tests web applications for client-side URL redirect (open redirect) flaws, where JavaScript sends users to attacker-supplied URLs.
73% 82%+9 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 16 of 22 without it.
A QA automation engineer wants to loop over various bypass payloads against a target authentication endpoint using curl in a shell loop. The team suggests only testing full https absolute URLs. What additional bypass patterns (such as protocol-relative or authority trickery) should be iterated in the script?
Includes protocol-relative bypass payloads starting with double slashes.
3 of 3 safety checks passed
WSTG-CLNT-04
Testing for Client-Side URL Redirect
Client-side URL redirect vulnerabilities (open redirects) occur when JavaScript redirects users based on URL parameters without validation. Attackers can craft links that redirect victims to malicious sites, facilitating phishing attacks.
#!/bin/bash
TARGET="https://target.com"
# Common redirect parameters
params=("url" "redirect" "next" "return" "returnUrl" "goto" "destination" "redir" "redirect_uri" "continue")
for param in "${params[@]}"; do
response=$(curl -sI "$TARGET/login?$param=https://evil.com" | grep -i "location")
if echo "$response" | grep -qi "evil.com"; then
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.