← Vulnerability feed

Vulnerability record · CVE-2017-10974 · published 7 July 2017

CVE-2017-10974: Yaws web server path traversal allows unauthenticated file disclosure

Yaws · Yaws

Yaws 1.91 fails to properly block HTTP directory traversal when a request path begins with the /%5C sequence, letting an attacker read files outside the web root. The flaw is a path traversal (CWE-22) reachable over the network without credentials, so any exposed Yaws 1.91 instance is at risk of leaking sensitive files.

7.5 CVSS 3.0 High EPSS 81% · top 0.4% CWE-22 · Path traversal
7.5CVSS 3.0 base score, v2 5.0
81%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Yaws 1.91 allows Unauthenticated Remote File Disclosure via HTTP Directory Traversal with /%5C../ to port 8080. NOTE: this CVE is only about use of an initial /%5C sequence to defeat traversal protection mechanisms; the initial /%5C sequence was apparently not discussed in earlier research on this product.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityUnauthenticated remote file disclosure with public exploit code and very high EPSS, though not in KEV and limited to confidentiality impact.

What it is

Yaws 1.91 fails to properly block HTTP directory traversal when a request path begins with the /%5C sequence, letting an attacker read files outside the web root. The flaw is a path traversal (CWE-22) reachable over the network without credentials, so any exposed Yaws 1.91 instance is at risk of leaking sensitive files.

Impact

An attacker gains read access to arbitrary files on the server filesystem, which can expose configuration files, credentials, source code or other sensitive data. There is no integrity or availability impact; the loss is confidentiality only.

Attack surface

Reached remotely over HTTP against port 8080 using a crafted path beginning with /%5C../. No authentication and no user interaction are required, as reflected in the CVSS vector AV:N/PR:N/UI:N.

Exploitation

Public exploit code exists (Exploit-DB 42303 and the vendor advisory are tagged Exploit), and EPSS is very high at 0.81 (99.6th percentile), though the CVE is not listed in CISA KEV. No ransomware association is documented.

What to do

  • Upgrade Yaws to a version later than 1.91 that fixes the traversal handling; if no fixed release is available, restrict or replace the deployment.
  • Do not expose the Yaws listener on port 8080 to untrusted networks; place it behind a reverse proxy or firewall that normalizes and rejects encoded traversal sequences.
  • Normalize and validate request paths, rejecting any path containing encoded backslashes or traversal sequences before they reach the file handler.
  • Run the Yaws process with least privilege and confine it to a directory that contains no sensitive files.
  • Monitor and alert on requests containing /%5C or ../ patterns in the access log.

Detection

  • Search web access logs for request paths containing /%5C, %5C../, or ../ sequences targeting port 8080.
  • Alert on HTTP requests whose decoded path escapes the configured document root.
  • Review outbound or file-read behavior of the Yaws process for access to files outside the web root.
  • Correlate repeated traversal attempts from a single source IP as likely scanning or exploitation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-10974 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-24379Yaws xml external entity (xxe) vulnerabilityWebDAV implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to XXE injection.EPSS 3.4%9.8CVE-2020-24916Yaws os command injection vulnerabilityCGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.EPSS 17%6.5CVE-2011-4350Yaws path traversal vulnerabilityYaws 1.91 has a directory traversal vulnerability in the way certain URLs are processed. A remote authenticated user could use this flaw to obtain co…EPSS 16%6.1CVE-2016-1000108Yaws open redirect vulnerabilityyaws before 2.0.4 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the pr…EPSS 1.1%5.5CVE-2020-12872Yaws inadequate encryption strength vulnerabilityyaws_config.erl in Yaws through 2.0.2 and/or 2.0.7 loads obsolete TLS ciphers, as demonstrated by ones that allow Sweet32 attacks, if running on an E…EPSS 0.39%5.0CVE-2010-4181Yaws path traversal vulnerabilityDirectory traversal vulnerability in Yaws 1.89 allows remote attackers to read arbitrary files via ..\ (dot dot backslash) and other sequences.EPSS 8.5%5.0CVE-2009-4495Yaws improper input validation vulnerabilityYaws 1.85 writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or po…EPSS 9.0%5.0CVE-2009-0751Yaws vulnerabilityYaws before 1.80 allows remote attackers to cause a denial of service (memory consumption and crash) via a request with a large number of headers.EPSS 10%

Source: NIST National Vulnerability Database (record CVE-2017-10974), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.