Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any backend account
-
DeliveryOpen My Account avatar upload form
-
ExploitEnumerate sequential system_files integer IDs via repeated onLoadAttachmentConfig calls
-
ExecutionCraft POST request substituting target file_id
-
ImpactOverwrite victim attachment metadata via onSaveAttachmentConfig or manipulate sort order via onSortAttachments
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated Winter CMS backend session with any level of access - including the default My Account capability granted to all backend users - and a valid CSRF token, which is automatically present in any authenticated browser session. No elevated role, specific permission, or non-default configuration is required; the My Account avatar form is the minimum-privilege entry point. Exploitation is constrained to integrity modification of attachment metadata (title, description, sort_order) and potentially triggering onRemoveAttachment against unrelated records; no file content read or write capability is confirmed by the advisory. The attack is further constrained to installations with a multi-user backend where other users or models have existing attachments - a single-admin installation has no cross-user targets but may still have model-level attachments that could be targeted. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N scores this at 5.4 Medium, and the signal profile is broadly consistent: network-accessible, low complexity, no user interaction, any authenticated backend user as attacker. The confidentiality impact (C:L) is plausible because onLoadAttachmentConfig can expose attachment metadata from unrelated records to the attacker; however, this is metadata exposure (titles, descriptions), not file-content disclosure, so C:L is at the upper bound of defensibility. No EPSS data was provided in the input, so exploitation probability cannot be independently quantified. No CISA KEV listing exists. The practical risk is modestly higher than the numeric score suggests: the entry point is the My Account avatar form, which requires zero elevated backend permissions, and sequential integer IDs make enumeration trivial - meaning even a small backend team running an unpatched installation faces application-wide attachment integrity risk from any backend account. There is no conflicting signal between the CVSS vector and the vulnerability description; the network vector is accurate because exploitation occurs over standard HTTP POST requests with no local access requirement. Availability impact is recorded as N in the provided CVSS, which is conservative given that onRemoveAttachment uses the same unscoped lookup - the advisory does not explicitly confirm arbitrary deletion as a realized impact, so A:N is accepted but should be re-evaluated if further analysis of onRemoveAttachment confirms deletion capability. |
| Exploit ScenarioDerived | An attacker logs into the Winter CMS backend using any account (including a freshly registered one with no assigned roles) and opens the My Account page, which contains the avatar FileUpload widget. Using a browser proxy, the attacker intercepts the POST request to onSaveAttachmentConfig and replaces the file_id value with an enumerated integer belonging to a content editor's uploaded document or another user's avatar. By iterating through sequential IDs, the attacker overwrites titles and descriptions on arbitrary attachments across the application with no public exploit tooling required beyond standard web proxy software. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Authenticated IDOR in the Winter CMS backend FileUpload widget (versions through 1.2.12) allows any backend user - including those with no role beyond default My Account access - to manipulate attachment metadata and sort ordering across the entire application by submitting an attacker-controlled file_id POST parameter. Because the system_files table uses sequential integer primary keys, any authenticated attacker can enumerate and target arbitrary System\Models\File records belonging to unrelated users or models, overwriting title, description, and sort_order, and potentially triggering onRemoveAttachment against unrelated records through the same unscoped lookup. No public exploit has been identified at time of analysis, and no CISA KEV entry exists.
RemediationAI
Upgrade Winter CMS to v1.2.13 or later, which contains the vendor-released patch in commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25 (https://github.com/wintercms/winter/commit/9cb0ae5f9d837db141ab111c6a7de8eed9603d25). The vendor states no supported workaround exists other than upgrading; however, for installations that cannot upgrade immediately, the fix can be applied manually in modules/backend/formwidgets/FileUpload.php: in getFileRecord(), replace $this->getRelationModel()->find(post('file_id')) with $this->getRelationObject()->withDeferred($this->sessionKey)->find(post('file_id')); and in onSortAttachments(), intersect the posted sort ID array against the IDs returned by $this->getRelationObject()->withDeferred($this->sessionKey)->pluck($keyName) before passing the result to setSortableOrder(). Applying only one of these two changes leaves the other code path unpatched - both modifications are required. There is no network-layer workaround that mitigates this vulnerability without breaking legitimate attachment functionality, as the exploit path uses the same authenticated endpoints as normal users.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Winter CMS is a Laravel-based PHP content management system. The vulnerable component is the backend FileUpload form widget (modules/backend/formwidgets/FileUpload.php), identified by CPE as pkg:composer/winter_wn-backend-module. The root cause (CWE-284: Improper Access Control) is that FileUpload::getFileRecord() resolved the POST-supplied file_id parameter via $this->getRelationModel()->find(post('file_id')), which queries the global system_files table with no relation scope. Because all attachments across every model in Winter CMS share this single table and use sequential integer IDs, the unscoped lookup allowed any valid ID to be resolved regardless of ownership. The same flaw extended to onSortAttachments(), which passed the posted ID array directly to setSortableOrder() - an unscoped UPDATE WHERE id = ? - without first verifying that the IDs belonged to the calling widget's relation. The fix in v1.2.13 (commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25) scopes all lookups through getRelationObject()->withDeferred($this->sessionKey)->find(...) and intersects sort IDs against the relation's own ID set before any update.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Network-accessible via HTTP POST by any low-privilege authenticated backend user; C:L for metadata exposure via onLoadAttachmentConfig; A:N because deletion impact is not explicitly confirmed by the advisory.
Primary rating from Vendor (https://github.com/wintercms/winter).
CVSS VectorVendor: https://github.com/wintercms/winter
DescriptionCVE.org
Impact
The backend FileUpload form widget trusted an attacker-controlled file_id POST parameter when resolving the attachment it operates on. The lookup (FileUpload::getFileRecord()) resolved the posted id against the global system_files table without verifying that the file belonged to the widget's own relation, parent record, or deferred-binding session.
Any authenticated backend user who can reach a form containing a fileupload field - including the built-in My Account avatar field, which requires no specific backend permission - could therefore target a System\Models\File record belonging to another user or record and:
- modify its
titleanddescriptionviaonSaveAttachmentConfig, and - change its
sort_orderviaonSortAttachments(which passed posted ids
straight to setSortableOrder(), an unscoped UPDATE ... WHERE id = ?).
The same unscoped lookup is reached by onLoadAttachmentConfig, onSaveAttachmentConfig, and onRemoveAttachment. Because all attachments share the single System\Models\File model and system_files table, an attacker was not limited to other users' avatars - any attachment on any model could be referenced by id. Attachment ids are sequential integers and are easily enumerated.
The confirmed impact is unauthorized integrity modification of arbitrary attachment metadata and ordering.
CSRF tokens are still verified on all POST requests, so an attacker must be authenticated to the backend with a valid session. To exploit this issue an attacker needs a backend account with any level of access.
Patches
The FileUpload widget now scopes every file_id lookup to the widget's own relation, including any files bound through the current deferred-binding session, so a posted id can no longer reference an unrelated System\Models\File record:
getFileRecord()resolves the id throughgetRelationObject()->withDeferred($this->sessionKey)->find(...)rather than the global file model. This coversonLoadAttachmentConfig,onSaveAttachmentConfig, andonRemoveAttachment.onSortAttachments()intersects the posted ids with the ids that actually belong to the relation before callingsetSortableOrder().
This security issue has been fixed as of v1.2.13 (commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25).
Workarounds
There is no supported workaround other than upgrading. If you cannot upgrade immediately, you may apply the fix manually in modules/backend/formwidgets/FileUpload.php:
- In
getFileRecord(), replace$this->getRelationModel()->find(post('file_id'))with$this->getRelationObject()->withDeferred($this->sessionKey)->find(post('file_id')). - In
onSortAttachments(), filter the postedsortOrderids to those returned by$this->getRelationObject()->withDeferred($this->sessionKey)->pluck($keyName)before callingsetSortableOrder().
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-66644
GHSA-3277-h8g9-qj5f
NVD
CVE.org
EPSS
VulDB
Exploit-DB