CORS origin reflection and OPTIONS session bypass in salt-api (CherryPy)
The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any website can make credentialed cross-origin requests using an authenticated administrator's browser session, and the preflight handler can bypass the authentication check.