CVE-2023-0566: Froxlor/froxlor Froxlor Contains Static Code Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-w7w4-qjgg-372x
CVSS 4.8
CWE-96 CWE-79
Published
Advisory Summary

CVE-2023-0566 is a MODERATE (CVSS 4.8) froxlor contains static code injection vulnerability (CWE-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')) affecting Froxlor/froxlor libraries in the Packagist ecosystem. The issue involves froxlor contains static code injection. Remediation is available by upgrading affected packages to version 2.0.10.

CVE-2023-0566 at a Glance

CVE Identifier CVE-2023-0566
GHSA Identifier GHSA-w7w4-qjgg-372x
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')
Affected Product Froxlor/froxlor
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.8

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
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-2023-0566

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

froxlor/froxlor fixed: 2.0.10
Upgrade froxlor/froxlor to 2.0.10
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 froxlor/froxlor

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-0566, inspect your project dependencies for Froxlor/froxlor:

inspect dependencies for froxlor/froxlor

Analyze the terminal output to locate any version of Froxlor/froxlor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.10), 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-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection'), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template. In Froxlor/froxlor, 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

Static Code Injection in GitHub repository froxlor/froxlor prior to 2.0.10.

CVE-2023-0566 Affected Froxlor/froxlor Versions

1 component(s)
Fixed Versions:
2.0.10
Product / Package Ecosystem Affected Versions Fixed Version
froxlor/froxlor
Packagist
< 2.0.10
2.0.10

References

Frequently Asked Questions

What is CVE-2023-0566?
CVE-2023-0566 is a security vulnerability in Froxlor/froxlor involving Froxlor contains Static Code Injection under CWE-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection').
Which Froxlor/froxlor versions are affected?
Affected versions include releases prior to 2.0.10 across affected packages: froxlor/froxlor.
What version fixes CVE-2023-0566?
Upgrading to 2.0.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is froxlor/froxlor affected?
Yes, froxlor/froxlor is affected in releases prior to 2.0.10. Upgrade your dependency to 2.0.10 or later.
What is the CVSS score of CVE-2023-0566?
CVE-2023-0566 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-0566?
CVE-2023-0566 is classified under CWE-96: Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template.).
How can I check Packagist dependencies for CVE-2023-0566?
Run the dependency tree command: 'inspect dependencies for froxlor/froxlor'. 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-w7w4-qjgg-372x",
  "modified" : "2023-02-07T21:22:10Z",
  "published" : "2023-01-30T00:30:35Z",
  "aliases" : [ "CVE-2023-0566" ],
  "summary" : "Froxlor contains Static Code Injection",
  "details" : "Static Code Injection in GitHub repository froxlor/froxlor prior to 2.0.10.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "froxlor/froxlor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0566"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/froxlor/froxlor/commit/bd5b99dc1c06f594b9563d459a50bf3b32504876"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Froxlor/Froxlor"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/8339e4f1-d430-4845-81b5-36dd9fcdac49"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79", "CWE-96" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-01T01:38:29Z",
    "nvd_published_at" : "2023-01-29T22:15:00Z"
  }
}