Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 allows anyone with access to endpoints to download files outside the intended directory. A patch has been applied and a release made. Users should upgrade to version 8.12.7. As a workaround, users may manually apply the changes from the fix commit.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229 | third party advisory patch |
https://github.com/kizniche/Mycodo/issues/1105 | issue tracking third party advisory |
https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9 | third party advisory patch |
https://github.com/kizniche/Mycodo/releases/tag/v8.12.7 | third party advisory release notes |