CVE-2023-0316: Froxlor/froxlor Path Traversal Vulnerability

MODERATE
Advisory Identifier: GHSA-xp3g-2729-rxm3
CVSS 5.5
CWE-29
Published
Advisory Summary

CVE-2023-0316 is a MODERATE (CVSS 5.5) path traversal vulnerability (CWE-29: Path Traversal: '\..\filename') affecting Froxlor/froxlor libraries in the Packagist ecosystem. The issue involves froxlor is vulnerable to path traversal. Remediation is available by upgrading affected packages to version 2.0.0.

CVE-2023-0316 at a Glance

CVE Identifier CVE-2023-0316
GHSA Identifier GHSA-xp3g-2729-rxm3
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-29: Path Traversal: '\..\filename'
Affected Product Froxlor/froxlor
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

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

How to Fix CVE-2023-0316

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.0
Upgrade froxlor/froxlor to 2.0.0
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-0316, 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.0), 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-29: Path Traversal: '\..\filename', where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory. 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

Path Traversal: '\..\filename' in GitHub repository froxlor/froxlor prior to 2.0.0.

CVE-2023-0316 Affected Froxlor/froxlor Versions

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

References

Frequently Asked Questions

What is CVE-2023-0316?
CVE-2023-0316 is a security vulnerability in Froxlor/froxlor involving Froxlor is vulnerable to path traversal under CWE-29: Path Traversal: '\..\filename'.
Which Froxlor/froxlor versions are affected?
Affected versions include releases prior to 2.0.0 across affected packages: froxlor/froxlor.
What version fixes CVE-2023-0316?
Upgrading to 2.0.0 (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.0. Upgrade your dependency to 2.0.0 or later.
What is the CVSS score of CVE-2023-0316?
CVE-2023-0316 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-0316?
CVE-2023-0316 is classified under CWE-29: Path Traversal: '\..\filename' (The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.).
How can I check Packagist dependencies for CVE-2023-0316?
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-xp3g-2729-rxm3",
  "modified" : "2023-01-24T18:05:17Z",
  "published" : "2023-01-16T03:30:25Z",
  "aliases" : [ "CVE-2023-0316" ],
  "summary" : "Froxlor is vulnerable to path traversal",
  "details" : "Path Traversal: '\\..\\filename' in GitHub repository froxlor/froxlor prior to 2.0.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "froxlor/froxlor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0316"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/froxlor/froxlor/commit/983d9294603925018225d672795bd8b4a526f41e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Froxlor/Froxlor"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/c190e42a-4806-47aa-aa1e-ff5d6407e244"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-29" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-19T18:24:42Z",
    "nvd_published_at" : "2023-01-16T01:15:00Z"
  }
}