CVE-2016-15015: Barzahlen/barzahlen php Barzahlen Payment Module PHP SDK Vulnerability

MODERATE
Advisory Identifier: GHSA-vg5x-6q66-rvgx
CVSS 5.3
CWE-203 CWE-208
Published
Advisory Summary

CVE-2016-15015 is a MODERATE (CVSS 5.3) barzahlen payment module php sdk vulnerability (CWE-203: Observable Discrepancy) affecting Barzahlen/barzahlen php libraries in the Packagist ecosystem. The issue involves barzahlen payment module php sdk vulnerable to observable timing discrepancy. Remediation is available by upgrading affected packages to version 2.0.1.

CVE-2016-15015 at a Glance

CVE Identifier CVE-2016-15015
GHSA Identifier GHSA-vg5x-6q66-rvgx
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-203: Observable Discrepancy
Affected Product Barzahlen/barzahlen php
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:N/S:U/C:L/I:N/A:N).

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

How to Fix CVE-2016-15015

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

barzahlen/barzahlen-php fixed: 2.0.1
Upgrade barzahlen/barzahlen-php to 2.0.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 barzahlen/barzahlen-php

How to Check if You Are Affected

To determine whether your application is affected by CVE-2016-15015, inspect your project dependencies for Barzahlen/barzahlen php:

inspect dependencies for barzahlen/barzahlen-php

Analyze the terminal output to locate any version of Barzahlen/barzahlen php in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Barzahlen/barzahlen php, 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

A vulnerability, which was classified as problematic, was found in viafintech Barzahlen Payment Module PHP SDK up to 2.0.0. Affected is the function `verify` of the file `src/Webhook.php`. The manipulation leads to observable timing discrepancy. Upgrading to version 2.0.1 is able to address this issue. The name of the patch is 3e7d29dc0ca6c054a6d6e211f32dae89078594c1. It is recommended to upgrade the affected component. VDB-217650 is the identifier assigned to this vulnerability.

CVE-2016-15015 Affected Barzahlen/barzahlen php Versions

1 component(s)
Fixed Versions:
2.0.1
Product / Package Ecosystem Affected Versions Fixed Version
barzahlen/barzahlen-php
Packagist
< 2.0.1
2.0.1

References

Frequently Asked Questions

What is CVE-2016-15015?
CVE-2016-15015 is a security vulnerability in Barzahlen/barzahlen php involving Barzahlen Payment Module PHP SDK vulnerable to Observable Timing Discrepancy under CWE-203: Observable Discrepancy.
Which Barzahlen/barzahlen php versions are affected?
Affected versions include releases prior to 2.0.1 across affected packages: barzahlen/barzahlen-php.
What version fixes CVE-2016-15015?
Upgrading to 2.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is barzahlen/barzahlen-php affected?
Yes, barzahlen/barzahlen-php is affected in releases prior to 2.0.1. Upgrade your dependency to 2.0.1 or later.
What is the CVSS score of CVE-2016-15015?
CVE-2016-15015 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2016-15015?
CVE-2016-15015 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Packagist dependencies for CVE-2016-15015?
Run the dependency tree command: 'inspect dependencies for barzahlen/barzahlen-php'. 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-vg5x-6q66-rvgx",
  "modified" : "2023-01-13T21:05:08Z",
  "published" : "2023-01-08T18:30:25Z",
  "aliases" : [ "CVE-2016-15015" ],
  "summary" : "Barzahlen Payment Module PHP SDK vulnerable to Observable Timing Discrepancy",
  "details" : "A vulnerability, which was classified as problematic, was found in viafintech Barzahlen Payment Module PHP SDK up to 2.0.0. Affected is the function `verify` of the file `src/Webhook.php`. The manipulation leads to observable timing discrepancy. Upgrading to version 2.0.1 is able to address this issue. The name of the patch is 3e7d29dc0ca6c054a6d6e211f32dae89078594c1. It is recommended to upgrade the affected component. VDB-217650 is the identifier assigned to this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "barzahlen/barzahlen-php"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-15015"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/viafintech/Barzahlen-PHP/pull/8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/viafintech/Barzahlen-PHP/commit/3e7d29dc0ca6c054a6d6e211f32dae89078594c1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/viafintech/Barzahlen-PHP"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/viafintech/Barzahlen-PHP/releases/tag/v2.0.1"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.217650"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.217650"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-203", "CWE-208" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-13T21:05:08Z",
    "nvd_published_at" : "2023-01-08T18:15:00Z"
  }
}