CVE-2022-46181
Gotify Server vulnerability
Gotify server is a simple server for sending and receiving messages in real-time per WebSocket. Versions prior to 2.2.2 contain an XSS vulnerability that allows authenticated users to upload .html files. An attacker could execute client side scripts **if** another user opened a link. The attacker could potentially take over the account of the user that clicked the link. The Gotify UI won't natively expose such a malicious link, so an attacker has to get the user to open the malicious link in a context outside of Gotify. The vulnerability has been fixed in version 2.2.2. As a workaround, you can block access to non image files via a reverse proxy in the `./image` directory.
Affected products
Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gotify Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gotify/server/pull/534 · Patch
- github.com/gotify/server/pull/535 · Third Party Advisory
- github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-46181
- cve.org/CVERecord?id=CVE-2022-46181
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.