v5.0.0-3.4.5 focus to avoid leakage from 'referer' instead of "have a policy"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- html
- Domain
- documentation, security
Research direction
Start by locating requirement 3.4.5 in the ASVS source and review the earlier discussion in issue #2789. Update the requirement wording from requiring a referrer policy to requiring prevention of sensitive information leakage via the Referer header, then verify that the proposed changes match the issue text.
Written by the indexing model from the issue text.
Description
Current requirement:
| # | Description | Level |
|---|---|---|
| 3.4.5 | Verify that the application sets a referrer policy to prevent leakage of technically sensitive data to third-party services via the 'Referer' HTTP request header field. This can be done using the Referrer-Policy HTTP response header field or via HTML element attributes. Sensitive data could include path and query data in the URL, and for internal non-public applications also the hostname. | 2 |
Previously discussed in:
- #2789
Problem to solve:
- The focus point is not fully correct: it requires to have a referrer policy, but it is not required if there are no resources loaded from external addresses and no links provided to external addresses.
Proposal - change to focus to "verify that technically sensitive information is not leaked via the 'Referer' header field"
Verify that the web server configuration or application prevents leakage of technically sensitive data to third-party services via the 'Referer' HTTP request header field. This can be done using the Referrer-Policy HTTP response header field or via HTML element attributes. Sensitive data could include path and query data in the URL, and for internal non-public applications also the hostname.
Proposed changes:
- "application" > "web server configuration or application"
- "sets a referrer policy to prevent" > "prevents"
I consider it not to be a breaking change.
- Dominant language
- HTML
- Stars
- 3.9k
- Forks
- 865
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OWASP/ASVS
-
Crypto appendix: fix title "Post-Quantum Encryption Standards"May be free again A pull request for this issue was closed without being merged. OpenAppendix C
Difficulty 1/5 Under an hour Newbie friendliness 85/100
OWASP/ASVS#3468 · 3 comments ·
Maintainers usually reply within 1 day
-
Crypto appendix: fix notations wrt RSAPossibly taken @randomstuff claimed this 1 day ago. Open1) Discussion ongoing Appendix C V11 (prev V6)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3467 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
v5.0.0 4.2.1 cites RFC 2616, which is obsolete; RFC 9112 section 6.3 words the rule differentlyOpenV4 (prev V13) WG wanted
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
V6 (prev V2)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3433 · 4 comments ·
Maintainers usually reply within 1 day
-
Update proposal for v5.0.0-3.3.1 and v5.0.0-3.3.3 to cover __Host-Http- and __Http- cookie name prefixesMay be free again A pull request for this issue was closed without being merged. Open1) Discussion ongoing V3 (prev V50)
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OWASP/ASVS#3429 · 7 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
infra
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
Add Strange QuarkOpen
Difficulty 1/5 Under an hour Newbie friendliness 90/100