CVE-2015-3154: Zendframework/zend http Zenario CMS Vulnerable To CRLF Vulnerability

MODERATE
Advisory Identifier: GHSA-5957-5crx-79jx
CVSS 6.1
CWE-74
Published
Advisory Summary

CVE-2015-3154 is a MODERATE (CVSS 6.1) zenario cms vulnerable to crlf vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Zendframework/zend http libraries in the Packagist ecosystem. The issue involves zenario cms vulnerable to crlf injection. Remediation is available by upgrading affected packages to version 2.3.8, 2.4.1, 1.12.12.

CVE-2015-3154 at a Glance

CVE Identifier CVE-2015-3154
GHSA Identifier GHSA-5957-5crx-79jx
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product Zendframework/zend http
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.1

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

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

How to Fix CVE-2015-3154

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

zendframework/zend-http fixed: 2.3.8
Upgrade zendframework/zend-http to 2.3.8
zendframework/zend-http fixed: 2.4.1
Upgrade zendframework/zend-http to 2.4.1
zendframework/zendframework fixed: 2.3.8
Upgrade zendframework/zendframework to 2.3.8
zendframework/zendframework fixed: 2.4.1
Upgrade zendframework/zendframework to 2.4.1
zendframework/zendframework1 fixed: 1.12.12
Upgrade zendframework/zendframework1 to 1.12.12
zendframework/zend-http fixed: 1.12.12
Upgrade zendframework/zend-http to 1.12.12
Verify Direct and Transitive Dependencies

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

inspect dependencies for zendframework/zend-http

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-3154, inspect your project dependencies for Zendframework/zend http:

inspect dependencies for zendframework/zend-http

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Zendframework/zend http, 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

CRLF injection vulnerability in Zend\Mail (Zend_Mail) in Zend Framework before 1.12.12, 2.x before 2.3.8, and 2.4.x before 2.4.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via CRLF sequences in the header of an email.

CVE-2015-3154 Affected Zendframework/zend http Versions

6 component(s)
Fixed Versions:
2.3.82.4.11.12.12
Product / Package Ecosystem Affected Versions Fixed Version
zendframework/zend-http
Packagist
≥ 2.0.0beta4
< 2.3.8
2.3.8
zendframework/zend-http
Packagist
≥ 2.4.0rc1
< 2.4.1
2.4.1
zendframework/zendframework
Packagist
≥ 2.0.0beta4
< 2.3.8
2.3.8
zendframework/zendframework
Packagist
≥ 2.4.0rc1
< 2.4.1
2.4.1
zendframework/zendframework1
Packagist
< 1.12.12
1.12.12
zendframework/zend-http
Packagist
< 1.12.12
1.12.12

References

Frequently Asked Questions

What is CVE-2015-3154?
CVE-2015-3154 is a security vulnerability in Zendframework/zend http involving Zenario CMS vulnerable to CRLF injection under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which Zendframework/zend http versions are affected?
Affected versions include releases prior to 2.3.8, 2.4.1, 1.12.12 across affected packages: zendframework/zend-http, zendframework/zendframework, zendframework/zendframework1.
What version fixes CVE-2015-3154?
Upgrading to 2.3.8, 2.4.1, 1.12.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zendframework/zend-http affected?
Yes, zendframework/zend-http is affected in releases prior to 2.3.8, 2.4.1, 1.12.12. Upgrade your dependency to 2.3.8, 2.4.1, 1.12.12 or later.
Is zendframework/zendframework affected?
Yes, zendframework/zendframework is affected in releases prior to 2.3.8, 2.4.1. Upgrade your dependency to 2.3.8, 2.4.1 or later.
What is the CVSS score of CVE-2015-3154?
CVE-2015-3154 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2015-3154?
CVE-2015-3154 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check Packagist dependencies for CVE-2015-3154?
Run the dependency tree command: 'inspect dependencies for zendframework/zend-http'. 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-5957-5crx-79jx",
  "modified" : "2023-12-07T21:25:02Z",
  "published" : "2022-05-24T17:07:24Z",
  "aliases" : [ "CVE-2015-3154" ],
  "summary" : "Zenario CMS vulnerable to CRLF injection ",
  "details" : "CRLF injection vulnerability in Zend\\Mail (Zend_Mail) in Zend Framework before 1.12.12, 2.x before 2.3.8, and 2.4.x before 2.4.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via CRLF sequences in the header of an email.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zend-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0beta4"
      }, {
        "fixed" : "2.3.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zend-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0rc1"
      }, {
        "fixed" : "2.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zendframework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0beta4"
      }, {
        "fixed" : "2.3.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zendframework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0rc1"
      }, {
        "fixed" : "2.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zendframework1"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "zendframework/zend-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3154"
  }, {
    "type" : "WEB",
    "url" : "https://framework.zend.com/security/advisory/ZF2015-04"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-http/CVE-2015-3154.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-3154.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-3154.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zendframework/zendframework"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-01T21:29:03Z",
    "nvd_published_at" : "2020-01-27T16:15:00Z"
  }
}