CVE-2015-4026: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-2xvw-fxc9-x223
Published
Advisory Summary

CVE-2015-4026 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2015-4026 at a Glance

CVE Identifier CVE-2015-4026
GHSA Identifier GHSA-2xvw-fxc9-x223
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2015-4026

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

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

How to Check if You Are Affected

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

mvn dependency:tree

Analyze the terminal output to locate any version of Software 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 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 Software, 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

The pcntl_exec implementation in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character, which might allow remote attackers to bypass intended extension restrictions and execute files with unexpected names via a crafted first argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

References

NVD — CVE-2015-4026 NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-4026
bugs.php.net/bug.php WEB
https://bugs.php.net/bug.php?id=68598
Software Security Information SECURITY
https://security.gentoo.org/glsa/201606-10
support.apple.com/kb/ht205031 WEB
https://support.apple.com/kb/HT205031
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html
php.net/changelog-5.php WEB
http://php.net/ChangeLog-5.php
rhn.redhat.com/errata/rhsa-2015-11... WEB
http://rhn.redhat.com/errata/RHSA-2015-1135.html
rhn.redhat.com/errata/rhsa-2015-11... WEB
http://rhn.redhat.com/errata/RHSA-2015-1186.html
rhn.redhat.com/errata/rhsa-2015-11... WEB
http://rhn.redhat.com/errata/RHSA-2015-1187.html
rhn.redhat.com/errata/rhsa-2015-12... WEB
http://rhn.redhat.com/errata/RHSA-2015-1218.html
rhn.redhat.com/errata/rhsa-2015-12... WEB
http://rhn.redhat.com/errata/RHSA-2015-1219.html
Software Security Information SECURITY
http://www.debian.org/security/2015/dsa-3280
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/75056
Software Security Information SECURITY
http://www.securitytracker.com/id/1032431

Frequently Asked Questions

What is CVE-2015-4026?
CVE-2015-4026 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2015-4026?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2015-4026?
CVE-2015-4026 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2015-4026?
Run the dependency tree command: 'mvn dependency:tree'. 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-2xvw-fxc9-x223",
  "modified" : "2022-05-14T01:08:53Z",
  "published" : "2022-05-14T01:08:53Z",
  "aliases" : [ "CVE-2015-4026" ],
  "details" : "The pcntl_exec implementation in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \\x00 character, which might allow remote attackers to bypass intended extension restrictions and execute files with unexpected names via a crafted first argument.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-4026"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.php.net/bug.php?id=68598"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/201606-10"
  }, {
    "type" : "WEB",
    "url" : "https://support.apple.com/kb/HT205031"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://php.net/ChangeLog-5.php"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1135.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1186.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1187.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1218.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1219.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2015/dsa-3280"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/75056"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1032431"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2015-06-09T18:59:00Z"
  }
}