CVE-2014-0111: Syncope Apache Syncope JEXL Code Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-r2xf-w5pj-9pw8
CWE-94
Published
Advisory Summary

CVE-2014-0111 is a MODERATE apache syncope jexl code injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Syncope libraries in the Maven ecosystem. The issue involves apache syncope jexl code injection. Remediation is available by upgrading affected packages to version 1.0.9, 1.1.7.

CVE-2014-0111 at a Glance

CVE Identifier CVE-2014-0111
GHSA Identifier GHSA-r2xf-w5pj-9pw8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Syncope
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-0111

To remediate this vulnerability, upgrade all affected Syncope dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.syncope:syncope fixed: 1.0.9
<dependency>
    <groupId>org.apache.syncope</groupId>
    <artifactId>syncope</artifactId>
    <version>1.0.9</version>
</dependency>
org.apache.syncope:syncope fixed: 1.1.7
<dependency>
    <groupId>org.apache.syncope</groupId>
    <artifactId>syncope</artifactId>
    <version>1.1.7</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.syncope

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2014-0111, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.syncope

Analyze the terminal output to locate any version of Syncope in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.9), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.syncope command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Syncope, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apache Syncope 1.0.0 before 1.0.9 and 1.1.0 before 1.1.7 allows remote administrators to execute arbitrary Java code via vectors related to Apache Commons JEXL expressions, "derived schema definition," "user / role templates," and "account links of resource mappings."

CVE-2014-0111 Affected Syncope Versions

2 component(s)
Fixed Versions:
1.0.91.1.7
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.syncope:syncope
Maven
≥ 1.0.0
< 1.0.9
1.0.9
org.apache.syncope:syncope
Maven
≥ 1.1.0
< 1.1.7
1.1.7

References

Frequently Asked Questions

What is CVE-2014-0111?
CVE-2014-0111 is a security vulnerability in Syncope involving Apache Syncope JEXL Code Injection under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Syncope versions are affected?
Affected versions include releases prior to 1.0.9, 1.1.7 across affected packages: org.apache.syncope:syncope.
What version fixes CVE-2014-0111?
Upgrading to 1.0.9, 1.1.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is syncope affected?
Yes, org.apache.syncope:syncope is affected in releases prior to 1.0.9, 1.1.7. Upgrade your dependency to 1.0.9, 1.1.7 or later.
What CWE is associated with CVE-2014-0111?
CVE-2014-0111 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Maven dependencies for CVE-2014-0111?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.syncope'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r2xf-w5pj-9pw8",
  "modified" : "2023-08-16T22:09:18Z",
  "published" : "2022-05-14T01:18:38Z",
  "aliases" : [ "CVE-2014-0111" ],
  "summary" : "Apache Syncope JEXL Code Injection",
  "details" : "Apache Syncope 1.0.0 before 1.0.9 and 1.1.0 before 1.1.7 allows remote administrators to execute arbitrary Java code via vectors related to Apache Commons JEXL expressions, \"derived schema definition,\" \"user / role templates,\" and \"account links of resource mappings.\"",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope:syncope"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.0.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope:syncope"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0111"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201208163011/http://www.securityfocus.com/archive/1/531841/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://mail-archives.us.apache.org/mod_mbox/www-announce/201404.mbox/%3C534CE273.9020601@apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://syncope.apache.org/security.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-16T22:09:18Z",
    "nvd_published_at" : "2014-04-17T14:55:00Z"
  }
}