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

Julian Reschke commented on SLING-9043:
---------------------------------------

Ok, there were two things here that alarmed me:

1. special-casing COPY but not MOVE
2. not mentioning that CSRF is not a problem for COPY *unless* the attacked 
site has been configured to be wide open for CORS access

The latter absolutely needs to be mentioned here, so that people do not come to 
wrong conclusions.

> 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