Improper Neutralization of Special Elements Affecting eap7-ironjacamar-validator package, versions <0:1.3.8-1.Final_redhat_1.1.ep7.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
97.08% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-EAP7IRONJACAMARVALIDATOR-5300096
  • published26 Jul 2021
  • disclosed12 Oct 2017

Introduced: 12 Oct 2017

CVE-2017-12629  (opens in a new tab)
CWE-138  (opens in a new tab)

How to fix?

Upgrade RHEL:7 eap7-ironjacamar-validator to version 0:1.3.8-1.Final_redhat_1.1.ep7.el7 or higher.
This issue was patched in RHSA-2018:0004.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-ironjacamar-validator package and not the eap7-ironjacamar-validator package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.

References

CVSS Scores

version 3.1