grouper-users - RE: [grouper-users] CSRF errors in the Grouper UI
Subject: Grouper Users - Open Discussion List
List archive
- From: Siju Jacob <>
- To: Mark Day <>, "" <>
- Subject: RE: [grouper-users] CSRF errors in the Grouper UI
- Date: Mon, 7 Jan 2019 22:22:10 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:9antZBUvIOill97xPci3wYUHWE/V8LGtZVwlr6E/grcLSJyIuqrYbRCEt8tkgFKBZ4jH8fUM07OQ7/iwHzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9xIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hboYn9pkcBohSlCAa2GO/j1iVFimPq0aA41ekqDAHI3BYnH9ILqHnasdT1NKUPUeuoyKfH1ynMb/RN1jzg74XIaRIhrPOQUb5uasfRzkgvFx/fglWKtIzlIzyV2foXs2iA9eZvS/+gi3M+pgx3vzOhxd8sh5HGi44J0FzI6Dl1zYQvKdC5S0N3e9qpHZpIuy2HKYd7QdkuTmBytCs0yLAKo4O3cDYKxZg/yR7Qdf+Kf5SN7x/mVeuePDN1iXJgdb++mRq/81asx+jnWcWo0FtHrC9In9vOu38RzBPe7NWMROFn8Ue7wzmP0hje6uFaLkAwkqrWM4Yvz6I3mJYPvknPBzL7ll34gaOPcUUr4fan5/7gYrX7up+TLIh0ihz4MqszgMC/Gf44Mg8SX2eF5eu8yLzj/Ur/QLlQif02j7XZsJTdJcQcpa61GRNa0oEm6xqnDjem1soXnWUfIV9KZB6LlZXlN03MLfziDPqygE6gnTNqyvzeO73uGJTNLnzNkLf7erZ97lZRyBExzd1d+55YFKoMIPXyWk/trtDYFAI5MxC7w+n5EtV9zZkSVnySDa+EKK/Sq0OH5vozI+mQY48YoDn9K+Ii5/7zlX82h0UdcbC03ZsMdn+4BO9mLl6dYXrtmdcBDXwKshQkQOzrjl2CTSBcZ2y0X60i+jE3FpiqApneSYCw0/S923KeF4dVLkxPGxjYFG3kfpSsX/0ILi2VPJkl2nYLT7+8U4I7kAy1uRXh47thMufO/CAE79Tu2MU/r7ncjxYv7TFuStmG3nuWZ2Bygm4SQTIqhuZyrVErmXmZ1q0tuP1aCJRx7vhOWE9uLpyDl7ZSDNHuHBjcYtiEUk3gT9m7V2JiBuktysMDNh4uU+6piQrOim/zW+dPze6CGYA0/6TA3nP4O8d6zTPc2bI8i0U9HJcdLnWo06h48QWbR5XElUmUje6LTewdx2aMkQXL1m+SpAddWQ90X7/CWCUEZBSO9/z+51+EVaKyBrk9KU1MxdPRYqY=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Thanks team, I was able to resolve this issue by adding: secure=“true” scheme=“https” to the AJP connection in server.xml based on Christopher's suggestion in an old email. Thanks, Siju From: Siju Jacob
Hi Mark, Is this issue resolved for you. We are also facing a same issue. If yes, could you please share the solution with us. Thanks, Siju Jacob
From:
<>
On Behalf Of Mark Day We're just getting started with a Grouper implementation, and I'm running into problems with CSRF errors that pop up in two areas of the Grouper UI. 1. When clicking on "Lite UI" under "Quick Links". The error is: Maybe your session timed out and you need to start again. This should not happen under normal operation. CSRF error. The UI logs show: ERROR CsrfGuardLogger.log(47) - - Referer domain
https://<FQDN-redacted>/grouper/grouperUi/appHtml/grouper.html?operation=Misc.index does not match request domain:
http://<FQDN-redacted>/grouper/grouperExternal/public/OwaspJavaScriptServlet 2. In the "+ Assign permission" function for a group, typing in the Action field results in a 'error communicating with server' alert. The UI logs show: ERROR CsrfGuardLogger.log(47) - - potential cross-site request forgery (CSRF) attack thwarted (user:<redacted>, ip:<redacted>, method:GET, uri:/grouper/grouperUi/app/UiV2GroupPermission.permissionActionNameFilter, error:required token
is missing from the request) The two types of CSRF Guard errors potentially have different causes, or are slightly different symptoms of the same problem. Specifics of our implementation: - We're running Grouper in a container based off the tier/grouper:2.3.0-a109-u47-w12-p21 image from DockerHub. - There is an HAproxy-based reverse proxy service that is part of our container orchestration infrastructure that terminates TLS connections from the browser - The UI container's logs show that X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Port headers are populated correctly by the proxy. - /opt/grouper/conf/grouper.properties sets grouper.ui.url to
https://<FQDN>/grouper/ (I've also tried
https://<FQDN>/grouper/grouperUi/ with the same results) In the mailing list archives, I found a similar description to our permission setting issue, but it looks like that specific problem was fixed in UI patch 7, so I wouldn't expect to run into it with the TIER docker image we're using. It
feels like it's most likely associated with our use of the container orchestration reverse proxy, but that's more a hunch than anything else, and I'm not sure where to look next. I'm not sure where else to look for a URL setting (apart from grouper.properties) that may be specifying the http:// protocol, assuming that this is in fact a separate problem. Thanks for any suggestions you can offer, Mark Day NERSC / Lawrence Berkeley Lab |
- RE: [grouper-users] CSRF errors in the Grouper UI, Siju Jacob, 01/07/2019
- <Possible follow-up(s)>
- RE: [grouper-users] CSRF errors in the Grouper UI, Siju Jacob, 01/07/2019
Archive powered by MHonArc 2.6.19.