CVE-2023-38872: Gugoan/economizzer Economizzer Insecure Direct Object Reference Vulnerability

LOW
Advisory Identifier: GHSA-896v-ph5w-379h
CVSS 3.7
CWE-639
Published
Advisory Summary

CVE-2023-38872 is a LOW (CVSS 3.7) economizzer insecure direct object reference vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Gugoan/economizzer libraries in the Packagist ecosystem. The issue involves economizzer insecure direct object reference vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2023-38872 at a Glance

CVE Identifier CVE-2023-38872
GHSA Identifier GHSA-896v-ph5w-379h
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Gugoan/economizzer
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
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-2023-38872

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

gugoan/economizzer fixed: Latest secure release
Upgrade gugoan/economizzer to Latest secure release
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 gugoan/economizzer

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-38872, inspect your project dependencies for Gugoan/economizzer:

inspect dependencies for gugoan/economizzer

Analyze the terminal output to locate any version of Gugoan/economizzer 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: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Gugoan/economizzer, 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

An Insecure Direct Object Reference (IDOR) vulnerability in gugoan Economizzer commit 3730880 (April 2023) and v.0.9-beta1 allows any unauthenticated attacker to access cash book entry attachments of any other user, if they know the Id of the attachment.

CVE-2023-38872 Affected Gugoan/economizzer Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
gugoan/economizzer
Packagist
≤ 0.9-beta1

References

Frequently Asked Questions

What is CVE-2023-38872?
CVE-2023-38872 is a security vulnerability in Gugoan/economizzer involving Economizzer Insecure Direct Object Reference vulnerability under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Gugoan/economizzer versions are affected?
Affected versions include releases prior to current release patches across affected packages: gugoan/economizzer.
What version fixes CVE-2023-38872?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is gugoan/economizzer affected?
Yes, gugoan/economizzer is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-38872?
CVE-2023-38872 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-38872?
CVE-2023-38872 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2023-38872?
Run the dependency tree command: 'inspect dependencies for gugoan/economizzer'. 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-896v-ph5w-379h",
  "modified" : "2023-10-03T21:13:36Z",
  "published" : "2023-09-28T06:30:20Z",
  "aliases" : [ "CVE-2023-38872" ],
  "summary" : "Economizzer Insecure Direct Object Reference vulnerability",
  "details" : "An Insecure Direct Object Reference (IDOR) vulnerability in gugoan Economizzer commit 3730880 (April 2023) and v.0.9-beta1 allows any unauthenticated attacker to access cash book entry attachments of any other user, if they know the Id of the attachment.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "gugoan/economizzer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.9-beta1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38872"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gugoan/economizzer/commit/37308802dfe00d43df396a8afaa2096ece8b7b57"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2023-38872"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/gugoan/economizzer"
  }, {
    "type" : "WEB",
    "url" : "https://www.economizzer.org"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-28T16:49:40Z",
    "nvd_published_at" : "2023-09-28T04:15:12Z"
  }
}