CVE-2015-8566: Joomla/session Joomla! Framework Remote Code Injection Vulnerability

HIGH
Advisory Identifier: GHSA-wwfh-28hx-w2r2
CWE-74
Published
Advisory Summary

CVE-2015-8566 is a HIGH joomla! framework remote code injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Joomla/session libraries in the Packagist ecosystem. The issue involves joomla! framework remote code injection vulnerability. Remediation is available by upgrading affected packages to version 1.3.1.

CVE-2015-8566 at a Glance

CVE Identifier CVE-2015-8566
GHSA Identifier GHSA-wwfh-28hx-w2r2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product Joomla/session
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2015-8566

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

joomla/session fixed: 1.3.1
Upgrade joomla/session to 1.3.1
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 joomla/session

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-8566, inspect your project dependencies for Joomla/session:

inspect dependencies for joomla/session

Analyze the terminal output to locate any version of Joomla/session in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.1), 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 Joomla/session, 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 Session package 1.x before 1.3.1 for Joomla! Framework allows remote attackers to execute arbitrary code via unspecified session values.

CVE-2015-8566 Affected Joomla/session Versions

1 component(s)
Fixed Versions:
1.3.1
Product / Package Ecosystem Affected Versions Fixed Version
joomla/session
Packagist
< 1.3.1
1.3.1

References

Frequently Asked Questions

What is CVE-2015-8566?
CVE-2015-8566 is a security vulnerability in Joomla/session involving Joomla! Framework Remote Code Injection Vulnerability under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which Joomla/session versions are affected?
Affected versions include releases prior to 1.3.1 across affected packages: joomla/session.
What version fixes CVE-2015-8566?
Upgrading to 1.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is joomla/session affected?
Yes, joomla/session is affected in releases prior to 1.3.1. Upgrade your dependency to 1.3.1 or later.
What CWE is associated with CVE-2015-8566?
CVE-2015-8566 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-8566?
Run the dependency tree command: 'inspect dependencies for joomla/session'. 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-wwfh-28hx-w2r2",
  "modified" : "2024-04-25T23:01:07Z",
  "published" : "2022-05-17T04:00:55Z",
  "aliases" : [ "CVE-2015-8566" ],
  "summary" : "Joomla! Framework Remote Code Injection Vulnerability",
  "details" : "The Session package 1.x before 1.3.1 for Joomla! Framework allows remote attackers to execute arbitrary code via unspecified session values.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "joomla/session"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8566"
  }, {
    "type" : "WEB",
    "url" : "https://developer.joomla.org/security-centre/637-20151205-session-remote-code-execution-vulnerability.html"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/joomla/session/CVE-2015-8566.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/joomla-framework/session"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20160603093633/http://www.securityfocus.com/bid/79197"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T23:01:07Z",
    "nvd_published_at" : "2015-12-16T21:59:00Z"
  }
}