{"id":"CVE-2017-16224","published":"2018-06-07T02:00:00Z","modified":"2024-09-16T20:47:48Z","title":"st is a module for serving static files","vendor":"HackerOne","product":"st node module","tier":"tail","description":{"text":"st is a module for serving static files. An attacker is able to craft a request that results in an HTTP 301 (redirect) to an entirely different domain. A request for: http://some.server.com//nodesecurity.org/%2e%2e would result in a 301 to //nodesecurity.org/%2e%2e which most browsers treat as a proper redirect as // is translated into the current schema being used. Mitigating factor: In order for this to work, st must be serving from the root of a server (/) rather than the typical sub directory (/static/) and the redirect URL will end with some form of URL encoded .. (\"%2e%2e\", \"%2e.\", \".%2e\").","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00849,"percentile":0.59035,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://nodesecurity.io/advisories/547","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":11.81}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"st node module","versions":["<=1.2.1"]}],"affected":[{"ecosystem":"npm","package":"st","vulnerableRanges":["<1.2.2"],"patched":["1.2.2"],"from":["GHSA-72fg-jqhx-c68p"],"provenance":"source"}],"summary":{"text":"The st node module, a module for serving static files, contains an open redirect flaw in how it handles crafted request paths. An attacker who can send HTTP requests to a server running st, where st serves from the root path (/) rather than a subdirectory, can cause a 301 redirect to an arbitrary external domain by using a URL-encoded \"..\" sequence (such as %2e%2e) at the end of the path, and most browsers will follow it, so user interaction is needed only to the extent that a victim visits the crafted link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:52Z"},"euvd":{"id":"EUVD-2018-0375","exploited":false,"provenance":"source"}}