Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Testing for Cross-Site Flashing
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -9% | 0% |
WSTG-CLNT-08
Testing for Cross-Site Flashing
Cross-Site Flashing (XSF) vulnerabilities occur in Flash/SWF applications when user input is improperly handled. Although Flash is deprecated, legacy applications may still use it. Similar vulnerabilities can exist in other rich media technologies.
bash#!/bin/bash TARGET="target.com" # Find SWF files curl -s "https://$TARGET" | grep -oP '[^"]+\.swf' # Check crossdomain.xml curl -s "https://$TARGET/crossdomain.xml" # Common paths paths=("/crossdomain.xml" "/clientaccesspolicy.xml" "/flash/crossdomain.xml") for path in "${paths[@]}"; do curl -s "https://$TARGET$path" done
xml<!-- Vulnerable configuration --> <?xml version="1.0"?> <cross-domain-policy> <allow-access-from domain="*"/> <!-- VULNERABLE --> </cross-domain-policy> <!-- Secure configuration --> <?xml version="1.0"?> <cross-domain-policy> <allow-access-from domain="trusted.com"/> <allow-access-from domain="*.trusted.com"/> </cross-domain-policy>
xml<!-- Restrict cross-domain access --> <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="www.trusted.com" secure="true"/> </cross-domain-policy>
| Finding | CVSS | Severity | | ------------------------ | ---- | -------- | | Wildcard crossdomain.xml | 5.3 | Medium | | XSF vulnerability | 6.1 | Medium |
[ ] Flash files identified
[ ] crossdomain.xml analyzed
[ ] SWF parameters tested
[ ] clientaccesspolicy.xml checked
[ ] Findings documentedOther measured skills in the registry, with their headline benchmark lift.