-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 3.3.0, 4.0.0, 4.0.1
-
Component/s: Embedded
-
1
-
Severity 3 - Minor
Issue Summary
While adding a new directory or editing an existing one the embedded crowd passes directoryId, xsrfTokenName and xsrfTokenValue parameters to the URL.
Environment
- Bitbucket 6.9.X, 7.4.X, 7.5.X, 7.6.X
Steps to Reproduce
- In Bitbucket navigate to Gear Icon > User Directories;
- Click Add Directory and chose any option;
- Or edit an existing user directory;
Actual Results
Crowd will form a URL with the following details in it
- While adding a new user directory
<BASE URL>/plugins/servlet/embedded-crowd/configure/activedirectory/?xsrfTokenName=<TOKEN_NAME>&xsrfTokenValue=<TOKEN_VALUE>
- While editing an existing user directory
<BASE URL>/plugins/servlet/embedded-crowd/configure/ldap/? directoryId=<DIR_ID>&xsrfTokenName=<TOKEN_NAME>&xsrfTokenValue=<TOKEN_VALUE>
Expected Results
Embedded Crowd should hide the parameters from the URL
Notes
The URL shows sensitive details about the application that could lead to security issues.
Workaround
No workaround available at the moment.