Description
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.
Metrics
CVSS 3.0 6.5/10
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://devco.re/blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/Exploit, Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414dPatch, Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120Patch, Third Party Advisory
- https://sandstorm.io/news/2017-03-02-security-reviewVendor Advisory
- https://devco.re/blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/Exploit, Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414dPatch, Third Party Advisory
- https://github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120Patch, Third Party Advisory
- https://sandstorm.io/news/2017-03-02-security-reviewVendor Advisory
Timeline
- Published
- Feb 6, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified