[ 
https://issues.apache.org/jira/browse/SLING-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031455#comment-17031455
 ] 

Lars Krapf commented on SLING-9043:
-----------------------------------

[~kwin]: Yes, with proper CORS configuration this issue is mitigated - however, 
both headers might be stripped in some situations (see also: 
https://owasp.org/www-project-cheat-sheets/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html)
 and IMHO it wouldn't hurt to add the methods to the referrer filter given that 
it's already there, and given the many lax CORS configurations out there. 


> COPY should be in the referer filter's default list of protected HTTP methods
> -----------------------------------------------------------------------------
>
>                 Key: SLING-9043
>                 URL: https://issues.apache.org/jira/browse/SLING-9043
>             Project: Sling
>          Issue Type: Bug
>          Components: Resource Access Security
>            Reporter: Sonal Gupta
>            Priority: Major
>              Labels: vulnerability
>
> The COPY method , by default, is not in the list of methods covered by the 
> CSRF Referer filter. This might allow an attacker to copy files (abusing the 
> privileges of a logged in victim) using CSRF.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to