{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-49805 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-49805 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-49805 is a medium-severity vulnerability in louislam uptime-kuma, published on 11 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49805 and fix it if it is affected.\n\nWhat it is: CVE-2023-49805 is a medium-severity vulnerability in louislam uptime-kuma, published on 11 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-49805 in the wild and no public exploit code.\n\nAffected product: louislam uptime-kuma. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-49805/ (Markdown: https://insights.sbomify.com/CVE-2023-49805/index.md)","id":"CVE-2023-49805","markdown":"https://insights.sbomify.com/CVE-2023-49805/index.md","name":"CVE-2023-49805","record":{"aliases":["GHSA-mj22-23ff-2hrr"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Uptime Kuma monitoring tool","requires_auth":"high_privilege","summary":"Attackers can bypass firewall protections and access the application via cross-origin WebSocket connections, especially in no-auth mode.","user_interaction":"not_required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dockge","vendor":"dockge.kuma"},{"product":"uptime_kuma","vendor":"uptime.kuma"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"description":"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.\n\nWithout 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.\n\nIn 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`.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Uptime Kuma Missing Origin Validation in WebSockets","id":"CVE-2023-49805","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in GROWI","id":"CVE-2023-49807"},"packages":[],"prev":{"headline":"Uptime Kuma Password Change Vulnerability","id":"CVE-2023-49804"},"products":["uptime-kuma"],"published":"2023-12-11","related":[{"cvss_score":6.7,"headline":"Uptime Kuma Password Change Vulnerability","id":"CVE-2023-49804","kev_date_added":null,"published":"2023-12-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["louislam"]},"summary":"Attackers can bypass firewall protections and access the application via cross-origin WebSocket connections, especially in no-auth mode.","url":"https://insights.sbomify.com/CVE-2023-49805/"}