{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5222 exists.","fix":"No fix has been published for CVE-2023-5222 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-5222 is a medium-severity vulnerability in Viessmann Vitogate 300, published on 27 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5222 and fix it if it is affected.\n\nWhat it is: CVE-2023-5222 is a medium-severity vulnerability in Viessmann Vitogate 300, published on 27 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5222 exists.\n\nAffected product: Viessmann Vitogate 300. 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-5222/ (Markdown: https://insights.sbomify.com/CVE-2023-5222/index.md)","id":"CVE-2023-5222","markdown":"https://insights.sbomify.com/CVE-2023-5222/index.md","name":"CVE-2023-5222","record":{"aliases":["GHSA-cm4f-g738-hp2g"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["account_takeover","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Viessmann Vitogate 300","requires_auth":"none","summary":"Attackers can use hard-coded credentials in the Viessmann Vitogate 300 web interface to gain unauthorized administrative access.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"vitogate_300_firmware","vendor":"viessmann"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-259","name":"Use of Hard-coded Password"}],"description":"A vulnerability classified as critical was found in Viessmann Vitogate 300 up to 2.1.3.0. This vulnerability affects the function isValidUser of the file /cgi-bin/vitogate.cgi of the component Web Management Interface. The manipulation leads to use of hard-coded password. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-240364. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-03-14","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-03-14","kind":"exploitdb","ref":"51887","stars":null,"title":"Viessmann Vitogate 300 2.1.3.0 - Remote Code Execution (RCE)"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-5222.yaml","stars":null,"title":"Viessmann Vitogate 300 - Hardcoded Password"}],"tier":"weaponised"},"has_fix":null,"headline":"Viessmann Vitogate 300 Web Management Interface vitogate.cgi isValidUser hard-coded password","id":"CVE-2023-5222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"HimitZH HOJ Topic sandbox","id":"CVE-2023-5223"},"packages":[],"prev":{"headline":"ForU CMS index.php code injection","id":"CVE-2023-5221"},"products":["Vitogate 300"],"published":"2023-09-27","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2023-45852","kev_date_added":null,"published":"2023-10-14"},{"cvss_score":4.3,"headline":"Viessmann Vitogate 300 direct request","id":"CVE-2023-5702","kev_date_added":null,"published":"2023-10-23"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Viessmann"]},"summary":"Attackers can use hard-coded credentials in the Viessmann Vitogate 300 web interface to gain unauthorized administrative access.","url":"https://insights.sbomify.com/CVE-2023-5222/"}