CVE-2021-32647

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nsa:emissary:6.4.0:*:*:*:*:*:*:*

History

02 Jul 2022, 20:01

Type Values Removed Values Added
CWE CWE-74 CWE-470

10 Jun 2021, 16:02

Type Values Removed Values Added
CPE cpe:2.3:a:nsa:emissary:6.4.0:*:*:*:*:*:*:*
References (CONFIRM) https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-ph73-7v9r-wg32 - (CONFIRM) https://github.com/NationalSecurityAgency/emissary/security/advisories/GHSA-ph73-7v9r-wg32 - Patch, Third Party Advisory
References (MISC) https://github.com/NationalSecurityAgency/emissary/blob/30c54ef16c6eb6ed09604a929939fb9f66868382/src/main/java/emissary/server/mvc/internal/CreatePlaceAction.java#L36 - (MISC) https://github.com/NationalSecurityAgency/emissary/blob/30c54ef16c6eb6ed09604a929939fb9f66868382/src/main/java/emissary/server/mvc/internal/CreatePlaceAction.java#L36 - Exploit, Third Party Advisory
CWE CWE-74
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 9.1

01 Jun 2021, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-06-01 14:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-32647

Mitre link : CVE-2021-32647

CVE.ORG link : CVE-2021-32647


JSON object : View

Products Affected

nsa

  • emissary
CWE
CWE-470

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')