Zimbra / cisco-duo-saml

How to set-up Zimbra on Cisco Duo
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

CSRF Referrer Check need to be disabled #1

Open brniederberger opened 1 year ago

brniederberger commented 1 year ago

In the instructions, the command to disable CSRF checking is commented out. I was getting a permission denied (403) error on the SAML referral after Duo authentication until I ran that command. The comment should be removed

# zmprov mcf zimbraCsrfRefererCheckEnabled FALSE

should be

zmprov mcf zimbraCsrfRefererCheckEnabled FALSE

secure-code-warrior-for-github[bot] commented 1 year ago

Micro-Learning Topic: Cross-site request forgery (Detected by phrase)

Matched on "CSRF"

What is this? (2min video)

Session-related but not session-based, this attack is based on the ability of an attacker to force an action on a user’s browser (commonly in the form of a POST request) to perform an unauthorized action on behalf of the user. This can often occur without the user even noticing it… or only noticing when it is too late. The root cause is that browsers automatically send session cookies with all requests to a given domain, regardless of where the source of the request came from, and the application server cannot differentiate between a request that came from pages it served or a request that came from an unrelated page.

Try a challenge in Secure Code Warrior

Helpful references