GHSA-55pp-293f-3365: Silverstripe/userforms Silverstripe/userforms File Upload Exposure On Vulnerability
MODERATEGHSA-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
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).
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.
Upgrade silverstripe/userforms to 3.0.0
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
GHSA-55pp-293f-3365 Affected Silverstripe/userforms Versions
1 component(s)| 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?
Which Silverstripe/userforms versions are affected?
What version fixes GHSA-55pp-293f-3365?
Is silverstripe/userforms affected?
What is the CVSS score of GHSA-55pp-293f-3365?
What CWE is associated with GHSA-55pp-293f-3365?
How can I check Packagist dependencies for GHSA-55pp-293f-3365?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}