PT-2023-18540

CVE-2023-22489

·

Published

2023-01-10

·

Updated

2023-01-23

Description by

CVSS 3.1
3.5
Low
MetricsAV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Flarum versions v1.3.0 through v1.6.3
Description The issue occurs when the first post of a discussion is permanently deleted, but the discussion remains visible. This allows any actor who can view the discussion to create a new reply via the REST API, regardless of reply permission or lock status. The vulnerability is caused by the first post id attribute becoming null, which skips access control for new replies. Discussions must have at least one approved reply for this vulnerability to be exploitable. This can lead to uncontrolled spam or unintentional replies, and potentially be used to send unsolicited emails.
Recommendations For versions v1.3.0 through v1.6.3, upgrade to flarum/core v1.6.3 as soon as possible using composer update --prefer-dist --no-dev -a -W. As a temporary workaround, consider deleting the discussion itself or manually setting a first post id in the database to prevent exploitation. If you don't delete the first posts, you are not affected by this issue.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-HPH3-HV3C-7725
Found an issue in the description? Have something to add? Feel free to write us 👾