GHSA-55pp-293f-3365: Silverstripe/userforms Silverstripe/userforms File Upload Exposure On Vulnerability

MODERATE
CVSS 4.3
CWE-200
Published
Advisory Summary

GHSA-55pp-293f-3365 is a MODERATE (CVSS 4.3) silverstripe/userforms file upload exposure on vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Silverstripe/userforms libraries in the Packagist ecosystem. The issue involves silverstripe/userforms file upload exposure on userforms module. Remediation is available by upgrading affected packages to version 3.0.0.

GHSA-55pp-293f-3365 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-55pp-293f-3365
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Silverstripe/userforms
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.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:N/A:N).

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 None (I:N)
Availability None (A:N)

How to Fix GHSA-55pp-293f-3365

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

silverstripe/userforms fixed: 3.0.0
Upgrade silverstripe/userforms to 3.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 silverstripe/userforms

How to Check if You Are Affected

To determine whether your application is affected by GHSA-55pp-293f-3365, inspect your project dependencies for Silverstripe/userforms:

inspect dependencies for silverstripe/userforms

Analyze the terminal output to locate any version of Silverstripe/userforms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Silverstripe/userforms, 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

The [userforms module](https://github.com/silverstripe/silverstripe-userforms) allows CMS administrators to create public facing forms with file upload abilities. These files are uploaded into a predictable public path on the website, unless configured otherwise by the CMS administrator setting up the form. While the name of the uploaded file itself is not predictable, certain actions taken by CMS authors could expose it. For example, submission notification emails contain a link to the file without authorisation checks. In 3.0.0 this field is disabled by default, but re-enabled upon installation of the [secure assets module](https://github.com/silverstripe-labs/silverstripe-secureassets). When this is installed, the field can once again be used within a form, and will automatically lock this folder to a secure list of users, which can then be configured further by an administrator. Existing file upload fields will not be disabled, but will require re-enabling via config or installation of secure assets to become editable again. If any upload field points or is pointed to a folder that is not secured, and the secure assets module is present, then that folder will have the secure permissions applied automatically.

GHSA-55pp-293f-3365 Affected Silverstripe/userforms Versions

1 component(s)
Fixed Versions:
3.0.0
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/userforms
Packagist
< 3.0.0
3.0.0

References

Frequently Asked Questions

What is GHSA-55pp-293f-3365?
GHSA-55pp-293f-3365 is a security vulnerability in Silverstripe/userforms involving silverstripe/userforms file upload exposure on UserForms module under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Silverstripe/userforms versions are affected?
Affected versions include releases prior to 3.0.0 across affected packages: silverstripe/userforms.
What version fixes GHSA-55pp-293f-3365?
Upgrading to 3.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/userforms affected?
Yes, silverstripe/userforms is affected in releases prior to 3.0.0. Upgrade your dependency to 3.0.0 or later.
What is the CVSS score of GHSA-55pp-293f-3365?
GHSA-55pp-293f-3365 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-55pp-293f-3365?
GHSA-55pp-293f-3365 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for GHSA-55pp-293f-3365?
Run the dependency tree command: 'inspect dependencies for silverstripe/userforms'. 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-55pp-293f-3365",
  "modified" : "2024-05-28T17:21:00Z",
  "published" : "2024-05-28T17:21:00Z",
  "aliases" : [ ],
  "summary" : "silverstripe/userforms file upload exposure on UserForms module",
  "details" : "The [userforms module](https://github.com/silverstripe/silverstripe-userforms) allows CMS administrators to create public facing forms with file upload abilities. These files are uploaded into a predictable public path on the website, unless configured otherwise by the CMS administrator setting up the form. While the name of the uploaded file itself is not predictable, certain actions taken by CMS authors could expose it. For example, submission notification emails contain a link to the file without authorisation checks.\n\nIn 3.0.0 this field is disabled by default, but re-enabled upon installation of the [secure assets module](https://github.com/silverstripe-labs/silverstripe-secureassets). When this is installed, the field can once again be used within a form, and will automatically lock this folder to a secure list of users, which can then be configured further by an administrator.\n\nExisting file upload fields will not be disabled, but will require re-enabling via config or installation of secure assets to become editable again.\n\nIf any upload field points or is pointed to a folder that is not secured, and the secure assets module is present, then that folder will have the secure permissions applied automatically.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/userforms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/SS-2015-018-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-userforms"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/software/download/security-releases/ss-2015-018"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-28T17:21:00Z",
    "nvd_published_at" : null
  }
}