Sofa · Sofahessian · CVE-2019-9212
**Name of the Vulnerable Software and Affected Versions**
SOFA-Hessian versions 4.0.2 and earlier
**Description**
The issue allows remote attackers to execute arbitrary commands via a crafted serialized Hessian object because blacklisting of `com.caucho.naming.QName` and `com.sun.org.apache.xpath.internal.objects.XString` is mishandled, related to Resin Gadget. The vendor does not consider this issue a vulnerability because the blacklist is being misused. SOFA Hessian supports custom blacklist and a disclaimer was posted encouraging users to update the blacklist or to use the whitelist feature for their specific needs since the blacklist is not being actively updated.
**Recommendations**
For SOFA-Hessian versions 4.0.2 and earlier, update the blacklist or use the whitelist feature to mitigate the risk of exploitation. As a temporary workaround, consider restricting the use of the `com.caucho.naming.QName` and `com.sun.org.apache.xpath.internal.objects.XString` classes until the issue is resolved.