2023-08-07 09:54:43 +00:00
|
|
|
id: clickhouse-unauth-api
|
|
|
|
|
|
|
|
info:
|
2023-08-07 17:09:26 +00:00
|
|
|
name: ClickHouse API Database Interface - Improper Authorization
|
2023-08-07 09:54:43 +00:00
|
|
|
author: DhiyaneshDk
|
|
|
|
severity: high
|
2024-01-03 06:08:41 +00:00
|
|
|
description: Clickhouse API Database is exposed.
|
2023-08-07 09:54:43 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/luck-ying/Library-POC/blob/master/ClickHouse%E6%95%B0%E6%8D%AE%E5%BA%93/ClickHouse%E6%95%B0%E6%8D%AE%E5%BA%93%208123%E7%AB%AF%E5%8F%A3%E7%9A%84%E6%9C%AA%E6%8E%88%E6%9D%83%E8%AE%BF%E9%97%AE.py
|
|
|
|
- https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/redteam/vulnerability/unauthorized/ClickHouse%208123%E7%AB%AF%E5%8F%A3.md?plain=1
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:*
|
2023-08-07 09:54:43 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2024-09-10 09:08:16 +00:00
|
|
|
vendor: clickhouse
|
|
|
|
product: clickhouse
|
2023-08-07 09:54:43 +00:00
|
|
|
shodan-query: "X-ClickHouse-Summary"
|
|
|
|
fofa-query: "X-ClickHouse-Summary"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: misconfig,clickhouse,unauth,disclosure
|
2023-08-07 09:54:43 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/?query=SHOW%20DATABASES"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'default'
|
|
|
|
- 'system'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'text/tab-separated-values'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-09-12 05:14:01 +00:00
|
|
|
# digest: 490a004630440220564c9b9a8ab02b2c1824a05af5295ecc4424edc29125ff072c104e879b055e0102206311c9937919c9df3c9156b848484ddcb1ce815f35cf890aa3b381f90eeb1aff:922c64590222798bb761d5b6d8e72950
|