Critical vulnerability CVE-2022-42889
DevLan-Fargus opened this issue · 4 comments
Object: Remote server contains Apache Commons Text libraries that are affected by remote code execution vulnerability
Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is '${prefix:name}', where 'prefix' is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - 'script' - execute expressions using the JVM script execution engine (javax.script) - 'dns' - resolve dns records - 'url' - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.
Found vulnerable files:
- C:\Program Files\Autopsy-4.21.0\autopsy\solr\server\solr-webapp\webapp\WEB-INF\lib\commons-text-1.6.jar
- C:\Program Files\Autopsy-4.21.0\autopsy\solr\solr\lib\commons-text-1.6.jar
Solution: Update to the latest version of the library. Vendor has provided fix in version 1.10.0.
Thanks
This library is used as part of Solr. According to the Solr site https://solr.apache.org/security.html this CVE is not affected.
Ok thanks a lot. Can I definitely check it as false positive so to my scan? @markmckinnon
Based on what the webpage states I would check it as a false positive for Autopsy.
Thank you @markmckinnon have a good weekend :)