rzo1 opened a new issue, #8515:
URL: https://github.com/apache/storm/issues/8515

     Six profiling and debugging endpoints in StormApiResource.java are 
declared with @GET even though they perform      
     state-changing operations on workers:
                                                                                
                                         
     - GET /api/v1/topology/{id}/profiling/start/{host-port}/{timeout}          
                                         
     - GET /api/v1/topology/{id}/profiling/stop/{host-port}
     - GET /api/v1/topology/{id}/profiling/dumpprofile/{host-port}              
                                         
     - GET /api/v1/topology/{id}/profiling/dumpjstack/{host-port}
     - GET /api/v1/topology/{id}/profiling/dumpheap/{host-port}                 
                                         
     - GET /api/v1/topology/{id}/profiling/restartworker/{host-port}
                                                                                
                                         
     Per RFC 7231, GET is defined as safe and idempotent and must not be used 
for state-changing operations. Using GET   
     here violates HTTP semantics and unnecessarily broadens the CSRF attack 
surface in deployments that deviate from the  recommended 
reverse-proxy/firewall setup.                                                   
                       
                                            
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to