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
Link | Resource |
---|---|
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#L271 | Third Party Advisory |
https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d | Patch Third Party Advisory |
https://github.com/sandstorm-io/sandstorm/commit/6e8572ea8bb56d0216bb1b410e5040edc051b120 | Patch Third Party Advisory |
https://sandstorm.io/news/2017-03-02-security-review | Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2018-02-06T16:00:00
Updated: 2018-02-06T15:57:01
Reserved: 2017-02-22T00:00:00
Link: CVE-2017-6200
JSON object: View
NVD Information
Status : Analyzed
Published: 2018-02-06T16:29:00.790
Modified: 2018-03-13T19:29:01.577
Link: CVE-2017-6200
JSON object: View
Redhat Information
No data.
CWE