GHSA-55pp-293f-3365 silverstripe/userforms file upload exposure on UserForms module

Not scored Published

Attackers can access uploaded form files via predictable paths or exposed links in notification emails, leading to data disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-55pp-293f-3365?

GHSA-55pp-293f-3365 is a vulnerability in silverstripe/userforms, published on 28 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-55pp-293f-3365?

2 open source packages ship an affected version, including silverstripe/userforms.

PackageAffectedFixed in
silverstripe/userforms PackagistAll versions3.0.0
silverstripe/userforms PackagistAll versions3.0.0

How do I fix GHSA-55pp-293f-3365?

Upgrade silverstripe/userforms to 3.0.0 or later.

Is GHSA-55pp-293f-3365 being exploited?

There is no known exploitation of GHSA-55pp-293f-3365 in the wild and no public exploit code.

Sources

Is GHSA-55pp-293f-3365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free