CVE-2017-6200
Sandstorm vulnerability
Sandstorm before build 0.203 allows remote attackers to read any specified file under /etc or /run via the sandbox backup function. The root cause is that the findFilesToZip function doesn't filter Line Feed (\n) characters in a directory name.
Affected products
Sandstorm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sandstorm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- sandstorm.io/news/2017-03-02-security-review · Vendor Advisory
- github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d · Patch
- github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120 · Patch
- devco.re/blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/ · Exploit
- github.com/sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-6200
- cve.org/CVERecord?id=CVE-2017-6200
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.