In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulnerable to path traversal (with write access) via crafted syscheck messages written directly to the analysisd UNIX domain socket by a local user.
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/ossec/ossec-hids/issues/1821 | third party advisory |
https://www.ossec.net/ | vendor advisory |
https://github.com/ossec/ossec-hids/issues/1813 | third party advisory exploit |
https://security.gentoo.org/glsa/202007-33 | third party advisory vendor advisory |