CVE-2024-8296: Feehi/cms FeehiCMS User[avatar] Unrestricted Upload Vulnerability

MODERATE
Advisory Identifier: GHSA-xp68-7g33-f49m
CVSS 6.3
CWE-434
Published
Advisory Summary

CVE-2024-8296 is a MODERATE (CVSS 6.3) feehicms user[avatar] unrestricted upload vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Feehi/cms libraries in the Packagist ecosystem. The issue involves feehicms user[avatar] unrestricted upload. Remediation is available in the latest vendor maintenance releases.

CVE-2024-8296 at a Glance

CVE Identifier CVE-2024-8296
GHSA Identifier GHSA-xp68-7g33-f49m
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Feehi/cms
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.3

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

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

How to Fix CVE-2024-8296

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

feehi/cms fixed: Latest secure release
Upgrade feehi/cms 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 feehi/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-8296, inspect your project dependencies for Feehi/cms:

inspect dependencies for feehi/cms

Analyze the terminal output to locate any version of Feehi/cms 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Feehi/cms, 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 was found in FeehiCMS up to 2.1.1 and classified as critical. This issue affects the function insert of the file /admin/index.php?r=user%2Fcreate. The manipulation of the argument User[avatar] leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

CVE-2024-8296 Affected Feehi/cms Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
feehi/cms
Packagist
≤ 2.1.1

References

Frequently Asked Questions

What is CVE-2024-8296?
CVE-2024-8296 is a security vulnerability in Feehi/cms involving FeehiCMS User[avatar] unrestricted upload under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which Feehi/cms versions are affected?
Affected versions include releases prior to current release patches across affected packages: feehi/cms.
What version fixes CVE-2024-8296?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is feehi/cms affected?
Yes, feehi/cms 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-2024-8296?
CVE-2024-8296 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2024-8296?
CVE-2024-8296 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check Packagist dependencies for CVE-2024-8296?
Run the dependency tree command: 'inspect dependencies for feehi/cms'. 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-xp68-7g33-f49m",
  "modified" : "2024-08-30T19:53:34Z",
  "published" : "2024-08-29T15:30:33Z",
  "aliases" : [ "CVE-2024-8296" ],
  "summary" : "FeehiCMS User[avatar]  unrestricted upload",
  "details" : "A vulnerability was found in FeehiCMS up to 2.1.1 and classified as critical. This issue affects the function insert of the file /admin/index.php?r=user%2Fcreate. The manipulation of the argument User[avatar] leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "feehi/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8296"
  }, {
    "type" : "WEB",
    "url" : "https://gitee.com/A0kooo/cve_article/blob/master/feehi_cms/file_upload3/Fichkems%20user%20file%20upload%20vulnerability.md"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/liufee/cms"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.276071"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.276071"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.394568"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-30T19:53:34Z",
    "nvd_published_at" : "2024-08-29T13:15:07Z"
  }
}