CVE-2014-1216: Fitnesse Improper Neutralization Of Special Elements Vulnerability

HIGH
Advisory Identifier: GHSA-mpx3-mx2p-9gv3
CWE-77
Published
Advisory Summary

CVE-2014-1216 is a HIGH improper neutralization of special elements vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Fitnesse libraries in the Maven ecosystem. The issue involves improper neutralization of special elements used in a command in fitnesse wiki. Remediation is available by upgrading affected packages to version 20140418.

CVE-2014-1216 at a Glance

CVE Identifier CVE-2014-1216
GHSA Identifier GHSA-mpx3-mx2p-9gv3
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Fitnesse
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-1216

To remediate this vulnerability, upgrade all affected Fitnesse 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.fitnesse:fitnesse fixed: 20140418
<dependency>
    <groupId>org.fitnesse</groupId>
    <artifactId>fitnesse</artifactId>
    <version>20140418</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.fitnesse

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.fitnesse

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

Note: The mvn dependency:tree -Dincludes=org.fitnesse 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-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Fitnesse, 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

FitNesse Wiki 20131110, 20140201, and earlier allows remote attackers to execute arbitrary commands by defining a COMMAND_PATTERN and TEST_RUNNER in the pageContent parameter when editing a page.

CVE-2014-1216 Affected Fitnesse Versions

1 component(s)
Fixed Versions:
20140418
Product / Package Ecosystem Affected Versions Fixed Version
org.fitnesse:fitnesse
Maven
≥ 20131110
< 20140418
20140418

References

Frequently Asked Questions

What is CVE-2014-1216?
CVE-2014-1216 is a security vulnerability in Fitnesse involving Improper Neutralization of Special Elements used in a Command in FitNesse Wiki under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Fitnesse versions are affected?
Affected versions include releases prior to 20140418 across affected packages: org.fitnesse:fitnesse.
What version fixes CVE-2014-1216?
Upgrading to 20140418 (or the latest patched release for your respective branch) resolves the vulnerability.
Is fitnesse affected?
Yes, org.fitnesse:fitnesse is affected in releases prior to 20140418. Upgrade your dependency to 20140418 or later.
What CWE is associated with CVE-2014-1216?
CVE-2014-1216 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check Maven dependencies for CVE-2014-1216?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.fitnesse'. 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-mpx3-mx2p-9gv3",
  "modified" : "2022-07-07T22:51:10Z",
  "published" : "2022-05-17T04:46:05Z",
  "aliases" : [ "CVE-2014-1216" ],
  "summary" : "Improper Neutralization of Special Elements used in a Command in FitNesse Wiki",
  "details" : "FitNesse Wiki 20131110, 20140201, and earlier allows remote attackers to execute arbitrary commands by defining a COMMAND_PATTERN and TEST_RUNNER in the pageContent parameter when editing a page.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.fitnesse:fitnesse"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "20131110"
      }, {
        "fixed" : "20140418"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-1216"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/32568"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T22:51:10Z",
    "nvd_published_at" : "2014-04-22T13:06:00Z"
  }
}