{"api_version":"1","generated_at":"2026-07-23T11:56:50+00:00","cve":"CVE-2017-12796","urls":{"html":"https://cve.report/CVE-2017-12796","api":"https://cve.report/api/cve/CVE-2017-12796.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12796","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12796"},"summary":{"title":"CVE-2017-12796","description":"The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-10-23 04:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-502","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html","name":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"OpenMRS: CVE-2017-12796","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1","name":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"],"title":"Release Notes 2.6.1 - Resources - OpenMRS Wiki","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291","name":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Critical Security Advisory: 2017-09-12 - Community - OpenMRS Talk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12796","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12796","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"12796","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openmrs","cpe5":"openmrs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T18:51:06.168Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-10-22T00:00:00.000Z","descriptions":[{"lang":"en","value":"The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-10-23T03:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291"},{"tags":["x_refsource_MISC"],"url":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1"},{"tags":["x_refsource_MISC"],"url":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-12796","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291","refsource":"MISC","url":"https://talk.openmrs.org/t/critical-security-advisory-2017-09-12/13291"},{"name":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1","refsource":"MISC","url":"https://wiki.openmrs.org/display/RES/Release+Notes+2.6.1"},{"name":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html","refsource":"MISC","url":"https://isears.github.io/jekyll/update/2017/10/21/openmrs-rce.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-12796","datePublished":"2017-10-23T04:00:00.000Z","dateReserved":"2017-08-10T00:00:00.000Z","dateUpdated":"2024-08-05T18:51:06.168Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-10-23 04:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-502","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:*","versionEndExcluding":"2.6.1","matchCriteriaId":"CC2390B4-BFC2-454E-8A9C-705E364A507D"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"12796","Ordinal":"1","Title":"CVE-2017-12796","CVE":"CVE-2017-12796","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"12796","Ordinal":"1","NoteData":"The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.","Type":"Description","Title":"CVE-2017-12796"},{"CveYear":"2017","CveId":"12796","Ordinal":"2","NoteData":"2017-10-23","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"12796","Ordinal":"3","NoteData":"2017-10-22","Type":"Other","Title":"Modified"}]}}}