CVE-2023-26812: Duplicate Advisory Arbitrary Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-gh24-c683-79r2
Published
Advisory Summary

CVE-2023-26812 is a CRITICAL arbitrary code execution vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves arbitrary code execution in jfinal cms. Remediation is available in the latest vendor maintenance releases.

CVE-2023-26812 at a Glance

CVE Identifier CVE-2023-26812
GHSA Identifier GHSA-gh24-c683-79r2
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2023-26812

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

com.jflyfox:jflyfox_jfinal fixed: Latest secure release
<dependency>
    <groupId>com.jflyfox</groupId>
    <artifactId>jflyfox_jfinal</artifactId>
    <version>Latest secure release</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=com.jflyfox

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.jflyfox

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

Note: The mvn dependency:tree -Dincludes=com.jflyfox 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 General Security Weakness. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-8qhm-ch8h-xgjr. This link is maintained to preserve external references. ## Original Description Command execution vulnerability in the ActionEnter Class ins jfinal CMS version 5.1.0 allows attackers to execute arbitrary code via a created json file to the ueditor route.

CVE-2023-26812 Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.jflyfox:jflyfox_jfinal
Maven
≤ 5.1.0

References

Frequently Asked Questions

What is CVE-2023-26812?
CVE-2023-26812 is a security vulnerability in Duplicate Advisory involving Arbitrary code execution in jfinal CMS under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.jflyfox:jflyfox_jfinal.
What version fixes CVE-2023-26812?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is jflyfox_jfinal affected?
Yes, com.jflyfox:jflyfox_jfinal is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2023-26812?
CVE-2023-26812 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2023-26812?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.jflyfox'. 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-gh24-c683-79r2",
  "modified" : "2023-05-03T18:17:25Z",
  "published" : "2023-04-28T21:30:19Z",
  "withdrawn" : "2023-05-03T18:17:25Z",
  "aliases" : [ "CVE-2023-26812" ],
  "summary" : "Duplicate Advisory: Arbitrary code execution in jfinal CMS",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-8qhm-ch8h-xgjr. This link is maintained to preserve external references.\n\n## Original Description\nCommand execution vulnerability in the ActionEnter Class ins jfinal CMS version 5.1.0 allows attackers to execute arbitrary code via a created json file to the ueditor route.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.jflyfox:jflyfox_jfinal"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "5.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-26812"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jflyfox/jfinal_cms/issues/54"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-01T14:01:21Z",
    "nvd_published_at" : "2023-04-28T20:15:13Z"
  }
}