Advisory

GHSA-v68g-62v9-39w5

Also known as: CVE-2022-29858

Summary

Unpublished, protected files can be published via shortcode

Details

Silverstripe silverstripe/assets through 1.10 is vulnerable to improper access control that allows protected images to be published by changing an existing image short code on website content. Draft protected images can be published by changing an existing image shortcode on website content to match the ID of the draft protected image and then publishing the website content.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-29 22:40 UTC
Modified
2024-02-21 05:36 UTC

Affected packages and fixes

silverstripe/assets

Packagist · All systems

Affected

  • introduced 1.0.0, fixed 1.10.1 (ecosystem)

Fixed versions

1.10.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences