CVE-2019-13237: Opencms core Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-36hf-6hp2-9g4c
CVSS 4.3
CWE-200 CWE-22
Published
Advisory Summary

CVE-2019-13237 is a MODERATE (CVSS 4.3) remote code execution vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Opencms core libraries in the Maven ecosystem. The issue involves local file inclusion allows unauthorized access to internal resources in alkacon opencms. Remediation is available by upgrading affected packages to version 11.0.1.

CVE-2019-13237 at a Glance

CVE Identifier CVE-2019-13237
GHSA Identifier GHSA-36hf-6hp2-9g4c
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Opencms core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2019-13237

To remediate this vulnerability, upgrade all affected Opencms core 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.opencms:opencms-core fixed: 11.0.1
<dependency>
    <groupId>org.opencms</groupId>
    <artifactId>opencms-core</artifactId>
    <version>11.0.1</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.opencms

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.opencms

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

Note: The mvn dependency:tree -Dincludes=org.opencms 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Opencms core, 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

In Alkacon OpenCms 10.5.4 and 10.5.5, there are multiple resources vulnerable to Local File Inclusion that allow an attacker to access server resources: clearhistory.jsp, convertxml.jsp, group_new.jsp, loginmessage.jsp, xmlcontentrepair.jsp, and /system/workplace/admin/history/settings/index.jsp.

CVE-2019-13237 Affected Opencms core Versions

1 component(s)
Fixed Versions:
11.0.1
Product / Package Ecosystem Affected Versions Fixed Version
org.opencms:opencms-core
Maven
< 11.0.1
11.0.1

References

Frequently Asked Questions

What is CVE-2019-13237?
CVE-2019-13237 is a security vulnerability in Opencms core involving Local file inclusion allows unauthorized access to internal resources in Alkacon OpenCms under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Opencms core versions are affected?
Affected versions include releases prior to 11.0.1 across affected packages: org.opencms:opencms-core.
What version fixes CVE-2019-13237?
Upgrading to 11.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opencms-core affected?
Yes, org.opencms:opencms-core is affected in releases prior to 11.0.1. Upgrade your dependency to 11.0.1 or later.
What is the CVSS score of CVE-2019-13237?
CVE-2019-13237 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2019-13237?
CVE-2019-13237 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2019-13237?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opencms'. 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-36hf-6hp2-9g4c",
  "modified" : "2022-04-19T20:07:03Z",
  "published" : "2019-11-12T22:58:14Z",
  "aliases" : [ "CVE-2019-13237" ],
  "summary" : "Local file inclusion allows unauthorized access to internal resources in Alkacon OpenCms",
  "details" : "In Alkacon OpenCms 10.5.4 and 10.5.5, there are multiple resources vulnerable to Local File Inclusion that allow an attacker to access server resources: clearhistory.jsp, convertxml.jsp, group_new.jsp, loginmessage.jsp, xmlcontentrepair.jsp, and /system/workplace/admin/history/settings/index.jsp.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opencms:opencms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-13237"
  }, {
    "type" : "WEB",
    "url" : "https://aetsu.github.io/OpenCms"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alkacon/opencms-core"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alkacon/opencms-core/commits/branch_10_5_x"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/154281/Alkacon-OpenCMS-10.5.x-Local-File-Inclusion.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-11-12T22:29:08Z",
    "nvd_published_at" : "2019-08-27T12:15:00Z"
  }
}