CVE-2023-49805

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-49805
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49805.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-49805
Related
  • GHSA-mj22-23ff-2hrr
Published
2023-12-11T23:15:08Z
Modified
2025-01-15T05:02:07.648468Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Uptime Kuma is an easy-to-use self-hosted monitoring tool. Prior to version 1.23.9, the application uses WebSocket (with Socket.io), but it does not verify that the source of communication is valid. This allows third-party website to access the application on behalf of their client. When connecting to the server using Socket.IO, the server does not validate the Origin header leading to other site being able to open connections to the server and communicate with it. Other websites still need to authenticate to access most features, however this can be used to circumvent firewall protections made in place by people deploying the application.

Without origin validation, Javascript executed from another origin would be allowed to connect to the application without any user interaction. Without login credentials, such a connection is unable to access protected endpoints containing sensitive data of the application. However, such a connection may allow attacker to further exploit unseen vulnerabilities of the application. Users with "No-auth" mode configured who are relying on a reverse proxy or firewall to provide protection to the application would be especially vulnerable as it would grant the attacker full access to the application.

In version 1.23.9, additional verification of the HTTP Origin header has been added to the socket.io connection handler. By default, if the Origin header is present, it would be checked against the Host header. Connection would be denied if the hostnames do not match, which would indicate that the request is cross-origin. Connection would be allowed if the Origin header is not present. Users can override this behavior by setting environment variable UPTIME_KUMA_WS_ORIGIN_CHECK=bypass.

References

Affected packages

Git / github.com/louislam/dockge

Affected ranges

Type
GIT
Repo
https://github.com/louislam/dockge
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/louislam/uptime-kuma
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

1.*

1.0.0
1.0.1
1.0.10
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.10.0
1.10.1
1.10.2
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.12.0
1.12.1
1.13.0
1.13.0-beta.0
1.13.0-beta.1
1.13.0-beta.2
1.13.1
1.13.2
1.14.0
1.14.0-beta.0
1.14.0-beta.1
1.14.0-beta.2
1.14.1
1.15.0
1.15.0-beta.0
1.15.0-beta.1
1.15.1
1.16.0
1.16.0-beta.0
1.16.1
1.17.0
1.17.0-beta.0
1.17.0-beta.1
1.17.1
1.18.0
1.18.0-beta.0
1.18.1
1.18.2
1.18.3
1.18.4
1.18.5
1.19.0
1.19.0-beta.0
1.19.0-beta.1
1.19.0-beta.2
1.19.1
1.19.2
1.19.3
1.19.4
1.19.5
1.19.6
1.2.0
1.20.0
1.20.0-beta.0
1.20.1
1.20.2
1.21.0
1.21.0-beta.0
1.21.0-beta.1
1.21.1
1.21.2
1.21.2-beta.0
1.21.3
1.22.0
1.22.0-beta.0
1.22.1
1.23.0
1.23.0-beta.0
1.23.0-beta.1
1.23.1
1.23.2
1.23.3
1.23.4
1.23.5
1.23.6
1.23.7
1.23.8
1.3.0
1.3.1
1.3.2
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0
1.9.0
1.9.1
1.9.2