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

Create elasticsearch-default-login.yaml #7754

Merged
merged 5 commits into from
Jul 25, 2023
Merged

Conversation

DhiyaneshGeek
Copy link
Member

@DhiyaneshGeek DhiyaneshGeek commented Jul 24, 2023

Template / PR Information

  • Fixed CVE-2020-XXX / Added CVE-2020-XXX / Updated CVE-2020-XXX
  • References:

Template Validation

I've validated this template locally?

  • YES
  • NO

Additional Details (leave it blank if not applicable)

Additional References:

@DhiyaneshGeek DhiyaneshGeek self-assigned this Jul 24, 2023
@DhiyaneshGeek DhiyaneshGeek linked an issue Jul 24, 2023 that may be closed by this pull request
Copy link
Contributor

@omranisecurity omranisecurity left a comment

Choose a reason for hiding this comment

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

Fixed, please check again.

@DhiyaneshGeek
Copy link
Member Author

Hi @omranisecurity i have validated locally

using this docker https://github.com/deviantony/docker-elk/blob/main/README.md

here is the debug data

[elasticsearch-default-login] ElasticSearch - Default Login (@mohammad reza omrani | @omranisecurity) [high]
[INF] [elasticsearch-default-login] Dumped HTTP request for http://localhost:5601/internal/security/login

POST /internal/security/login HTTP/1.1
Host: localhost:5601
User-Agent: Mozilla/5.0 (Windows; Windows NT 10.1; Win64; x64; en-US) Gecko/20100101 Firefox/49.5
Connection: close
Content-Length: 145
Content-Type: application/json
Origin: http://localhost:5601
Referer: http://localhost:5601/login
kbn-version: 8.8.2
x-kbn-context: %7B%22name%22%3A%22security_login%22%2C%22url%22%3A%22%2Flogin%22%7D
Accept-Encoding: gzip

{"providerType":"basic","providerName":"basic","currentURL":"http://localhost:5601/login","params":{"username":"elastic","password":"changeme" }}
[DBG] [elasticsearch-default-login] Dumped HTTP response http://localhost:5601/internal/security/login

HTTP/1.1 200 OK
Connection: close
Content-Length: 16
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Security-Policy: script-src 'self'; worker-src blob: 'self'; style-src 'unsafe-inline' 'self'
Content-Type: application/json; charset=utf-8
Cross-Origin-Opener-Policy: same-origin
Date: Mon, 24 Jul 2023 11:02:06 GMT
Kbn-License-Sig: 9cb48bdd34a4864d65c8c80f312a91cd185618f97e253aa0159681e52c981bd2
Kbn-Name: kibana
Referrer-Policy: no-referrer-when-downgrade
Set-Cookie: sid=Fe26.2**0f884888d970fd915e531f42d83531c581b874165ce4a3dc9b61b5d6f2cd7f4d*alTZZLFQXWbyQorPQfnVBQ*QyR8UhvjpAgu4oHQl6p-cvWdOdD3Kkns2Z2yINrlgj3upNBP4-AZPtzU28N8_yP2mRanBhOkFon-ebCno_l_GTaO_xDzknJbe97wfSkPAjhhAC5d3kHcerVp_Lu2fGIxYr-0sY1rqKL3dKWBqo75EW4tGh0pC9iEoO7Cm_eE6sf7Opv6goXncbZctSVkz70nwVcpCYY2Q8aC1Z6SvImT34rDS4zNKBNL4d3JAc8AdjMjpLUPzCF-odVeeGw3j6TH**ab5b61234e7539da5b4cc9504efc76529213f5239eb8c793ae646f66fc5ecebc*nPWx5unaW-UCzvUgjpEravFeqVsQJZsc9KVBz6f3zeE; HttpOnly; Path=/
X-Content-Type-Options: nosniff

{"location":"/"}
[elasticsearch-default-login:word-1] [http] [high] http://localhost:5601/internal/security/login [password="changeme",username="elastic"]
[elasticsearch-default-login:status-2] [http] [high] http://localhost:5601/internal/security/login [password="changeme",username="elastic"]

@DhiyaneshGeek DhiyaneshGeek added the Done Ready to merge label Jul 24, 2023
@pussycat0x pussycat0x merged commit a2433ac into main Jul 25, 2023
2 checks passed
@pussycat0x pussycat0x deleted the elasticsearch-default-login branch July 25, 2023 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

elasticsearch default credentials
3 participants