{"id":"CVE-2021-32647","published":"2021-05-28T23:05:10Z","modified":"2024-08-03T23:25:30Z","title":"Post-authentication Remote Code Execution (RCE) in emissary:emissary","vendor":"NationalSecurityAgency","product":"emissary","tier":"tail","description":{"text":"Emissary is a P2P based data-driven workflow engine. Affected versions of Emissary are vulnerable to post-authentication Remote Code Execution (RCE). The [`CreatePlace`](https://github.com/NationalSecurityAgency/emissary/blob/30c54ef16c6eb6ed09604a929939fb9f66868382/src/main/java/emissary/server/mvc/internal/CreatePlaceAction.java#L36) REST endpoint accepts an `sppClassName` parameter which is used to load an arbitrary class. This class is later instantiated using a constructor with the following signature: `<constructor>(String, String, String)`. An attacker may find a gadget (class) in the application classpath that could be used to achieve Remote Code Execution (RCE) or disrupt the application. Even though the chances to find a gadget (class) that allow arbitrary code execution are low, an attacker can still find gadgets that could potentially crash the application or leak sensitive data. As a work around disable network access to Emissary from untrusted sources.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0285,"percentile":0.86665,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-ph73-7v9r-wg32","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NationalSecurityAgency/emissary/blob/30c54ef16c6eb6ed09604a929939fb9f66868382/src/main/java/emissary/server/mvc/internal/CreatePlaceAction.java#L36","tags":["x_refsource_MISC"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":17.33},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"nationalsecurityagency","affectedVersions":[{"vendor":"NationalSecurityAgency","product":"emissary","versions":["= 6.4.0"]}],"euvd":{"id":"EUVD-2021-19470","exploited":false,"provenance":"source"}}