Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix improperly authenticated access to advanced settings and share URL #9214

Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Nov 23, 2016

Kibana 5.0.0 and 5.0.1 were making requests to advanced settings and the short
URL service on behalf of the kibana server rather than the current user, which
means that being authenticated at all was sufficient to have both read and
write access to the advanced settings and short URLs.

Kibana 5.0.2 now authenticates requests for each service on behalf of the
current user.

ESA-2016-10

@epixa
Copy link
Contributor

epixa commented Nov 23, 2016

@jbudz says LGTM, but he had to head out

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spalger spalger force-pushed the fix/ui-settings+short-url/surface-es-errors branch from 24d0e04 to 9c9b551 Compare November 23, 2016 23:25
@spalger spalger merged commit 6f1cd39 into elastic:master Nov 23, 2016
@spalger spalger deleted the fix/ui-settings+short-url/surface-es-errors branch November 23, 2016 23:51
elastic-jasper added a commit that referenced this pull request Nov 23, 2016
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
elastic-jasper added a commit that referenced this pull request Nov 23, 2016
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 24, 2016
Backports PR elastic#9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
spalger pushed a commit that referenced this pull request Nov 24, 2016
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
spalger pushed a commit that referenced this pull request Nov 24, 2016
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
spalger pushed a commit that referenced this pull request Nov 24, 2016
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z
@spalger spalger restored the fix/ui-settings+short-url/surface-es-errors branch November 27, 2016 09:57
@epixa epixa changed the title [server/uiSettings+shortUrl] surface errors from es [ESA-2016-10] Fix improperly authenticated access to advanced settings and share URL Nov 29, 2016
@epixa epixa changed the title [ESA-2016-10] Fix improperly authenticated access to advanced settings and share URL Fix improperly authenticated access to advanced settings and share URL Nov 29, 2016
@spalger spalger deleted the fix/ui-settings+short-url/surface-es-errors branch December 14, 2016 17:15
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Backports PR elastic#9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b551
* Authored by spalger <[email protected]> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a
* Authored by spalger <[email protected]> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdb
* Authored by spalger <[email protected]> on 2016-11-23T23:41:08Z

Former-commit-id: 4f22595
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants