ID CVE-2013-4330
Summary Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arbitrary simple language expressions by including "$simple{}" in a CamelFileName message header to a (1) FILE or (2) FTP producer.
References
Vulnerable Configurations
  • Apache Camel 2.12.0
    cpe:2.3:a:apache:camel:2.12.0
  • Apache Camel 2.11.0
    cpe:2.3:a:apache:camel:2.11.0
  • Apache Camel 2.11.1
    cpe:2.3:a:apache:camel:2.11.1
  • Apache Camel 2.10.0
    cpe:2.3:a:apache:camel:2.10.0
  • Apache Camel 2.10.1
    cpe:2.3:a:apache:camel:2.10.1
  • Apache Camel 2.10.2
    cpe:2.3:a:apache:camel:2.10.2
  • Apache Camel 2.10.3
    cpe:2.3:a:apache:camel:2.10.3
  • Apache Camel 2.10.4
    cpe:2.3:a:apache:camel:2.10.4
  • Apache Camel 2.10.5
    cpe:2.3:a:apache:camel:2.10.5
  • Apache Camel 2.10.6
    cpe:2.3:a:apache:camel:2.10.6
  • Apache Camel 2.9.6
    cpe:2.3:a:apache:camel:2.9.6
  • Apache Camel 2.9.5
    cpe:2.3:a:apache:camel:2.9.5
  • Apache Camel 2.9.4
    cpe:2.3:a:apache:camel:2.9.4
  • Apache Camel 2.9.3
    cpe:2.3:a:apache:camel:2.9.3
  • Apache Camel 2.9.2
    cpe:2.3:a:apache:camel:2.9.2
  • Apache Camel 2.9.1
    cpe:2.3:a:apache:camel:2.9.1
  • Apache Camel 2.9.0
    cpe:2.3:a:apache:camel:2.9.0
  • Apache Camel 2.8.6
    cpe:2.3:a:apache:camel:2.8.6
  • Apache Camel 2.8.5
    cpe:2.3:a:apache:camel:2.8.5
  • Apache Camel 2.8.4
    cpe:2.3:a:apache:camel:2.8.4
  • Apache Camel 2.8.3
    cpe:2.3:a:apache:camel:2.8.3
  • Apache Camel 2.8.2
    cpe:2.3:a:apache:camel:2.8.2
  • Apache Camel 2.8.1
    cpe:2.3:a:apache:camel:2.8.1
  • Apache Camel 2.8.0
    cpe:2.3:a:apache:camel:2.8.0
  • Apache Camel 2.7.5
    cpe:2.3:a:apache:camel:2.7.5
  • Apache Camel 2.7.4
    cpe:2.3:a:apache:camel:2.7.4
  • Apache Camel 2.7.3
    cpe:2.3:a:apache:camel:2.7.3
  • Apache Camel 2.7.2
    cpe:2.3:a:apache:camel:2.7.2
  • Apache Camel 2.7.1
    cpe:2.3:a:apache:camel:2.7.1
  • Apache Camel 2.7.0
    cpe:2.3:a:apache:camel:2.7.0
  • Apache Camel 2.6.0
    cpe:2.3:a:apache:camel:2.6.0
  • Apache Camel 2.5.0
    cpe:2.3:a:apache:camel:2.5.0
  • Apache Camel 2.4.0
    cpe:2.3:a:apache:camel:2.4.0
  • Apache Camel 2.3.0
    cpe:2.3:a:apache:camel:2.3.0
  • Apache Camel 2.2.0
    cpe:2.3:a:apache:camel:2.2.0
  • Apache Camel 2.1.0
    cpe:2.3:a:apache:camel:2.1.0
  • Apache Camel 2.0.0 milestone 3
    cpe:2.3:a:apache:camel:2.0.0:m3
  • Apache Camel 2.0.0 milestone 2
    cpe:2.3:a:apache:camel:2.0.0:m2
  • Apache Camel 2.0.0 milestone 1
    cpe:2.3:a:apache:camel:2.0.0:m1
  • Apache Camel 2.0.0
    cpe:2.3:a:apache:camel:2.0.0
  • Apache Camel 1.6.4
    cpe:2.3:a:apache:camel:1.6.4
  • Apache Camel 1.6.2
    cpe:2.3:a:apache:camel:1.6.2
  • Apache Camel 1.6.3
    cpe:2.3:a:apache:camel:1.6.3
  • Apache Camel 1.6.1
    cpe:2.3:a:apache:camel:1.6.1
  • Apache Camel 1.6.0
    cpe:2.3:a:apache:camel:1.6.0
  • Apache Camel 1.5.0
    cpe:2.3:a:apache:camel:1.5.0
  • Apache Camel 1.4.0
    cpe:2.3:a:apache:camel:1.4.0
  • Apache Camel 1.3.0
    cpe:2.3:a:apache:camel:1.3.0
  • Apache Camel 1.2.0
    cpe:2.3:a:apache:camel:1.2.0
  • Apache Camel 1.1.0
    cpe:2.3:a:apache:camel:1.1.0
  • Apache Camel 1.0.0
    cpe:2.3:a:apache:camel:1.0.0
CVSS
Base: 6.8 (as of 07-10-2013 - 09:58)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2014-0245.NASL
    description An updated activemq package that fixes multiple security issues is now available for Red Hat OpenShift Enterprise 2.0. The Red Hat Security Response Team has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Apache ActiveMQ provides a SOA infrastructure to connect processes across heterogeneous systems. A flaw was found in Apache Camel's parsing of the FILE_NAME header. A remote attacker able to submit messages to a Camel route, which would write the provided message to a file, could provide expression language (EL) expressions in the FILE_NAME header, which would be evaluated on the server. This could lead to arbitrary remote code execution in the context of the Camel server process. (CVE-2013-4330) It was found that the Apache Camel XSLT component allowed XSL stylesheets to call external Java methods. A remote attacker able to submit messages to a Camel route could use this flaw to perform arbitrary remote code execution in the context of the Camel server process. (CVE-2014-0003) It was discovered that the Spring OXM wrapper did not expose any property for disabling entity resolution when using the JAXB unmarshaller. A remote attacker could use this flaw to conduct XML External Entity (XXE) attacks on websites, and read files in the context of the user running the application server. The patch for this flaw disables external entity processing by default, and provides a configuration directive to re-enable it. (CVE-2013-4152) The HawtJNI Library class wrote native libraries to a predictable file name in /tmp/ when the native libraries were bundled in a JAR file, and no custom library path was specified. A local attacker could overwrite these native libraries with malicious versions during the window between when HawtJNI writes them and when they are executed. (CVE-2013-2035) The CVE-2013-2035 issue was discovered by Florian Weimer of the Red Hat Product Security Team, and the CVE-2014-0003 issue was discovered by David Jorm of the Red Hat Security Response Team. All users of Red Hat OpenShift Enterprise 2.0 are advised to upgrade to this updated package, which corrects these issues.
    last seen 2019-02-21
    modified 2018-12-13
    plugin id 119346
    published 2018-12-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=119346
    title RHEL 6 : activemq (RHSA-2014:0245)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2014-0254.NASL
    description An updated activemq package that fixes multiple security issues is now available for Red Hat OpenShift Enterprise 1.2.7. The Red Hat Security Response Team has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Apache ActiveMQ provides a SOA infrastructure to connect processes across heterogeneous systems. A flaw was found in Apache Camel's parsing of the FILE_NAME header. A remote attacker able to submit messages to a Camel route, which would write the provided message to a file, could provide expression language (EL) expressions in the FILE_NAME header, which would be evaluated on the server. This could lead to arbitrary remote code execution in the context of the Camel server process. (CVE-2013-4330) It was found that the Apache Camel XSLT component allowed XSL stylesheets to call external Java methods. A remote attacker able to submit messages to a Camel route could use this flaw to perform arbitrary remote code execution in the context of the Camel server process. (CVE-2014-0003) It was discovered that the Spring OXM wrapper did not expose any property for disabling entity resolution when using the JAXB unmarshaller. A remote attacker could use this flaw to conduct XML External Entity (XXE) attacks on websites, and read files in the context of the user running the application server. The patch for this flaw disables external entity processing by default, and provides a configuration directive to re-enable it. (CVE-2013-4152) The HawtJNI Library class wrote native libraries to a predictable file name in /tmp/ when the native libraries were bundled in a JAR file, and no custom library path was specified. A local attacker could overwrite these native libraries with malicious versions during the window between when HawtJNI writes them and when they are executed. (CVE-2013-2035) The CVE-2013-2035 issue was discovered by Florian Weimer of the Red Hat Product Security Team, and the CVE-2014-0003 issue was discovered by David Jorm of the Red Hat Security Response Team. All users of Red Hat OpenShift Enterprise 1.2.7 are advised to upgrade to this updated package, which corrects these issues.
    last seen 2019-02-21
    modified 2019-02-06
    plugin id 119347
    published 2018-12-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=119347
    title RHEL 6 : activemq (RHSA-2014:0254)
redhat via4
advisories
  • rhsa
    id RHSA-2013:1862
  • rhsa
    id RHSA-2014:0124
  • rhsa
    id RHSA-2014:0140
  • rhsa
    id RHSA-2014:0245
  • rhsa
    id RHSA-2014:0254
refmap via4
confirm http://camel.apache.org/security-advisories.data/CVE-2013-4330.txt.asc?version=1&modificationDate=1380535446943
fulldisc 20130930 CVE-2013-4330: Apache Camel critical disclosure vulnerability
misc http://packetstormsecurity.com/files/123454/
osvdb 97941
secunia 54888
xf apache-camel-cve20134330-code-exec(87542)
Last major update 26-03-2014 - 00:50
Published 04-10-2013 - 13:55
Last modified 28-08-2017 - 21:33
Back to Top