{"api_version":"1","generated_at":"2026-07-24T21:02:35+00:00","cve":"CVE-2020-5242","urls":{"html":"https://cve.report/CVE-2020-5242","api":"https://cve.report/api/cve/CVE-2020-5242.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5242","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5242"},"summary":{"title":"CVE-2020-5242","description":"openHAB before 2.5.2 allow a remote attacker to use REST calls to install the EXEC binding or EXEC transformation service and execute arbitrary commands on the system with the privileges of the user running openHAB. Starting with version 2.5.2 all commands need to be whitelisted in a local file which cannot be changed via REST calls.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-02-20 23:15:00","updated_at":"2020-02-26 15:19:00"},"problem_types":["CWE-863"],"metrics":[],"references":[{"url":"https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv","name":"https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Exec add-ons allow remote arbitrary command execution · Advisory · openhab/openhab-addons · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031","name":"https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Merge pull request from GHSA-w698-693g-23hv · openhab/openhab-addons@4c4cb66 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5242","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5242","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5242","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openhab","cpe5":"openhab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5242","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openhab","cpe5":"openhab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5242","STATE":"PUBLIC","TITLE":"openHAB exec add-ons allow remote arbitrary command execution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"openhab-addons","version":{"version_data":[{"version_value":"< 2.5.2"}]}}]},"vendor_name":"openhab"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"openHAB before 2.5.2 allow a remote attacker to use REST calls to install the EXEC binding or EXEC transformation service and execute arbitrary commands on the system with the privileges of the user running openHAB. Starting with version 2.5.2 all commands need to be whitelisted in a local file which cannot be changed via REST calls."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-284: Improper Access Control"}]}]},"references":{"reference_data":[{"name":"https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv","refsource":"CONFIRM","url":"https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv"},{"name":"https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031","refsource":"MISC","url":"https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031"}]},"source":{"advisory":"GHSA-w698-693g-23hv","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-02-20 23:15:00","lastModifiedDate":"2020-02-26 15:19:00","problem_types":["CWE-863"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openhab:openhab:*:*:*:*:*:*:*:*","versionEndExcluding":"2.5.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5242","Ordinal":"165456","Title":"CVE-2020-5242","CVE":"CVE-2020-5242","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5242","Ordinal":"1","NoteData":"openHAB before 2.5.2 allow a remote attacker to use REST calls to install the EXEC binding or EXEC transformation service and execute arbitrary commands on the system with the privileges of the user running openHAB. Starting with version 2.5.2 all commands need to be whitelisted in a local file which cannot be changed via REST calls.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5242","Ordinal":"2","NoteData":"2020-02-20","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5242","Ordinal":"3","NoteData":"2020-02-20","Type":"Other","Title":"Modified"}]}}}