{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19276 exists.","fix":"No fix has been published for CVE-2018-19276 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-19276 is a critical unsafe deserialization vulnerability in n/a, published on 17 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-19276 and fix it if it is affected.\n\nWhat it is: CVE-2018-19276 is a critical unsafe deserialization vulnerability in n/a, published on 17 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19276 exists.\n\nAffected product: n/a. 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-2018-19276/ (Markdown: https://insights.sbomify.com/CVE-2018-19276/index.md)","id":"CVE-2018-19276","markdown":"https://insights.sbomify.com/CVE-2018-19276/index.md","name":"CVE-2018-19276","record":{"aliases":["GHSA-785q-xwp9-2xw7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenMRS","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands on OpenMRS systems by sending crafted XML data due to insecure object deserialization.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openmrs","vendor":"openmrs"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","version":"3.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"OpenMRS before 2.24.0 is affected by an Insecure Object Deserialization vulnerability that allows an unauthenticated user to execute arbitrary commands on the targeted system via crafted XML data in a request body.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2019-02-04","github_poc":1,"max_poc_stars":16,"metasploit":1,"nuclei":1,"refs":[{"date":"2019-03-11T21:28:55Z","kind":"github_poc","ref":"https://github.com/mpgn/CVE-2018-19276","stars":16,"title":"CVE-2018-19276 - OpenMRS Insecure Object Deserialization RCE"},{"date":"2019-02-04","kind":"metasploit","ref":"exploit/multi/http/openmrs_deserialization","stars":null,"title":"OpenMRS Java Deserialization RCE"},{"date":"2019-02-05","kind":"exploitdb","ref":"46327","stars":null,"title":"OpenMRS Platform \u003c 2.24.0 - Insecure Object Deserialization"},{"date":"2019-12-18","kind":"exploitdb","ref":"47792","stars":null,"title":"OpenMRS - Java Deserialization RCE (Metasploit)"},{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-19276.yaml","stars":null,"title":"OpenMRS Platform \u003c 2.24.0 - Insecure Object Deserialization"}],"tier":"weaponised"},"has_fix":false,"headline":"Deserialization in n/a","id":"CVE-2018-19276","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2018"},"n_packages":0,"n_references":5,"next":{"headline":"XXE in PHPSpreadsheet due to encoding issue","id":"CVE-2018-19277"},"packages":[],"prev":{"headline":"Hardcoded credentials in n/a","id":"CVE-2018-19275"},"products":["n/a"],"published":"2019-03-17","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-43094","kev_date_added":null,"published":"2022-05-10"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2017-12796","kev_date_added":null,"published":"2017-10-23"},{"cvss_score":9.4,"headline":"OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload","id":"CVE-2026-40076","kev_date_added":null,"published":"2026-05-06"},{"cvss_score":8.2,"headline":"OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet","id":"CVE-2026-40075","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":8,"headline":"Cross-site request forgery in n/a","id":"CVE-2025-25928","kev_date_added":null,"published":"2025-03-11"},{"cvss_score":7.5,"headline":"Directory Traversal in OpenMRS Startup Filter","id":"CVE-2022-23612","kev_date_added":null,"published":"2022-02-22"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary commands on OpenMRS systems by sending crafted XML data due to insecure object deserialization.","url":"https://insights.sbomify.com/CVE-2018-19276/"}