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.
References (5)
Core 5
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d
Patch, Third Party Advisory x_refsource_confirm
https://github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120
Third Party Advisory x_refsource_misc
https://github.com/sandstorm-io/sandstorm/blob/v0.202/src/sandstorm/backup.c%2B%2B#L271
Vendor Advisory x_refsource_confirm
https://sandstorm.io/news/2017-03-02-security-review
Exploit, Third Party Advisory x_refsource_misc
https://devco.re/blog/2018/01/26/Sandstorm-Security-Review-CVE-2017-6200-en/
Scores
CVSS v3
6.5
EPSS
0.0032
EPSS Percentile
55.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-200
Status
published
Products (1)
sandstorm/sandstorm
< 0.203
Published
Feb 06, 2018
Tracked Since
Feb 18, 2026