CyberRota Analysis
AI-GeneratedCraft CMS versions from 5.0.0-RC1 to 5.10.10 are vulnerable due to a missing authorization check in the AssetsController, allowing low-privilege authenticated users to overwrite files of other users within shared folders. This flaw can lead to unauthorized file modifications, potentially compromising the integrity of shared assets. Organizations using affected versions should prioritize patching to version 5.10.11 to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Craft CMS versions >= 5.0.0-RC1 and < 5.10.11 contain a missing authorization vulnerability in AssetsController::actionReplaceFile. When a request supplies sourceAssetId and targetFilename but omits assetId, the target asset is resolved by folder and filename after the permission checks execute, so the replacePeerFiles permission is never enforced. An authenticated low-privilege author with only the replaceFiles permission on a shared folder can overwrite the content of a peer's asset file (located in the same folder) with attacker-controlled bytes. Fixed in 5.10.11.