GHSA-55pp-293f-3365

Suggest an improvement
Source
https://github.com/advisories/GHSA-55pp-293f-3365
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-55pp-293f-3365/GHSA-55pp-293f-3365.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-55pp-293f-3365
Published
2024-05-28T17:21:00Z
Modified
2024-12-03T06:02:15.834969Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
silverstripe/userforms file upload exposure on UserForms module
Details

The userforms module 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. 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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-28T17:21:00Z"
}
References

Affected packages

Packagist / silverstripe/userforms

Package

Name
silverstripe/userforms
Purl
pkg:composer/silverstripe/userforms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0

Affected versions

0.*

0.5.1

1.*

1.0.1
1.1.0-beta

2.*

2.0.1-rc1
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10

3.*

3.0.0-beta1