Skip to main content

Cola Dnslog CVE-2025-57403

HIGH
Relative Path Traversal (CWE-23)
2025-12-26 cve@mitre.org
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Cola Dnslog server
  2. Delivery
    Craft DNS TXT query with traversal/absolute path
  3. Exploit
    Application joins path via os.path.join
  4. Execution
    Server reads out-of-bounds file
  5. Impact
    Sensitive file contents disclosed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires that a Cola Dnslog v1.3.2 server be deployed and reachable as the authoritative/handling DNS resolver for attacker-controlled queries, and that it processes TXT-record lookups - the code path that concatenates the requested name into a filesystem path via os.path.join. No authentication or user interaction is required (PR:N/UI:N), and default configurations are affected since the vulnerable path handling is inherent to TXT query processing. The primary practical limit on exploitation is deployment scarcity: the product is a niche self-hosted DNSLog tool, so reachable instances are uncommon, and impact is confined to confidentiality (arbitrary file read) with no write or denial-of-service capability.

Impact

Multiple signals point to a genuine but niche-impact file-disclosure flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.5 HIGH) indicates remote, low-complexity, unauthenticated exploitation with high confidentiality impact and no integrity/availability effect - consistent with a read-only directory traversal. POC/exploit code is publicly available (referenced GitHub issue #29 and a public gist), which lowers the barrier to exploitation and raises operational risk. However, this is NOT CISA KEV-listed and no EPSS score was provided in the input, so there is no evidence of widespread active exploitation - the publicly available exploit indicates feasibility, not confirmed in-the-wild use. The most important mitigating factor is prevalence: Cola Dnslog is an obscure open-source DNSLog utility (typically self-hosted by security researchers for out-of-band testing), not enterprise software, so the real-world attack surface is small. Net: a legitimately exploitable, POC-backed high-CVSS confidentiality bug, but the low deployment footprint means it is a lower real-world priority than its 7.5 score suggests for most organizations. No conflicting signals in the CVSS vector itself; EPSS and KEV data were simply not supplied.

Exploit ScenarioDerived

An attacker sends a specially crafted DNS TXT-record query to a target Cola Dnslog server where the queried name encodes a traversal sequence (e.g. ../../) or an absolute path. Because the application concatenates the attacker-controlled portion into a filesystem path via os.path.join, the server reads and returns a file outside the intended base directory, disclosing sensitive content. Public exploit material exists (a gist and the upstream GitHub issue), so no original research is required to reproduce it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 05, 2026

Directory traversal in Cola Dnslog 1.3.2 allows unauthenticated remote attackers to read arbitrary files from the host, because TXT-record DNS queries are concatenated into a filesystem path with os.path.join instead of being validated. Affected deployments are self-hosted instances acting as the DNS resolver for a domain; the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, 7.5) confirms remote, no-authentication exploitation with impact limited to confidentiality. Publicly available exploit code exists (a published gist and a GitHub issue), but there is no indication of confirmed active exploitation, and the practical risk is bounded by the niche nature of the product - reachable instances are uncommon, and no write or denial-of-service capability is involved.

RemediationAI

No vendor-released patch identified at time of analysis: the only references supplied are exploit-oriented (the public gist and upstream issue 29), and no fixed version number is provided, so upgrade only to a version the vendor explicitly marks as fixed and treat any such release as the authoritative fix. Until a patch is confirmed, apply compensating controls that directly reduce exposure of the TXT-record code path. Restrict DNS reachability: only allow UDP/TCP 53 queries from trusted networks or from the specific targets being tested, rather than exposing the resolver to the internet - the trade-off is that public callbacks used for SSRF/blind-injection testing will no longer work from external sources. Run Cola Dnslog as an unprivileged, dedicated service account inside a container or chroot whose filesystem view contains only its own data directory, which limits arbitrary file reads to that sandbox at the cost of some operational complexity and possible breakage of features that expect host-level paths. Disable or disable-external-access to the TXT-record handler if it is not needed, since the vulnerable logic is tied to TXT query processing, though this removes a capability some detection workflows rely on. Because no patch exists, add request logging and file-access monitoring around the DNS service so traversal attempts and unexpected reads are detectable, accepting the residual risk that detection happens after disclosure. Consult https://github.com/AbelChe/cola_dnslog/issues/29 for vendor/maintainer guidance before applying changes.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cola Dnslog is a self-hosted DNS log / DNS callback tool used to observe out-of-band DNS interactions (commonly for blind SSRF, XXE, or RCE detection). The flaw is rooted in CWE-23 (Relative Path Traversal) and lives in the code path that handles DNS TXT record lookups: the application takes the requested name (or a portion of the URL-like query string) and joins it to a base directory using os.path.join without sanitizing traversal sequences or absolute paths. Because os.path.join discards the base path when the supplied component is absolute, and because '../' sequences are not normalized or rejected, an attacker fully controls the resulting file path. Since the vulnerable handling is inherent to TXT query processing, default installations are exposed; the CPE cpe:2.3:a:abelche:cola_dnslog:1.3.2 pins the affected release, and the corresponding upstream issue (GitHub AbelChe/cola_dnslog issue 29) documents the behavior. No file-write primitive or crash condition is involved - the impact is arbitrary file read on the resolver host.

Know when Cola Dnslog gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

DNS query is network-reachable and unauthenticated (AV:N/PR:N/UI:N), traversal is straightforward (AC:L), and the flaw only reads files, so C:H with I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Cola Dnslog v1.3.2 is vulnerable to Directory Traversal. When a DNS query for a TXT record is processed, the application concatenates the requested URL (or a portion of it) directly with a base path using os.path.join. This bypass allows directory traversal or absolute path injection, leading to the potential exposure of sensitive information.

Executive ViewAI

Why It Matters

Self-hosted instances of Cola Dnslog 1.3.2, a niche DNS logging utility, can be abused by any remote party without credentials to read arbitrary files from the underlying host, including configuration files and potentially credentials or DNS keys. Because no vendor patch is currently available, any internet-reachable deployment remains exposed until it is isolated or replaced, and leadership should treat this as an unmitigated exposure for the small number of teams running the tool as an authoritative DNS resolver. Business impact is contained by the product's limited adoption and the read-only nature of the flaw, but the confidentiality loss on an affected host can still be significant.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict DNS port access to trusted sources, front the resolver with a filtering proxy, run the service in a container or chroot as a low-privilege account with a restricted file system view, rotate any secrets or keys readable by that account, monitor and alert on TXT queries containing traversal sequences, and plan migration to a maintained alternative.

Threat Intelligence Overview

EPSS Score
1.0%
Top 37% exploitable
Prevalence
Rare
obscure open-source DNSLog pentest utility, negligible enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:abelche:cola_dnslog:1.3.2:*:*:*:*:*:*:*

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy