Aug 21, 2026·5 min read·7 visits
In Winter CMS 1.2.13, low-privilege backend users can access other users' full profile details, including emails, usernames, and administrative roles, due to an unscoped FormController query combined with unrouted CRUD endpoints in the My Account controller.
An Insecure Direct Object Reference (IDOR) vulnerability was identified in Winter CMS version 1.2.13. The vulnerability exists within the newly introduced Backend\Controllers\MyAccount controller, which utilizes the FormController behavior without appropriate model query scoping or routing controls. This allows authenticated, low-privilege backend users to retrieve sensitive personal and administrative data of other backend accounts by enumerating record identifiers via standard CRUD routes.
In version 1.2.13 of Winter CMS, developers introduced a dedicated backend controller Backend\Controllers\MyAccount inside the winter/wn-backend-module package. This addition aimed to isolate profile management functionalities for backend users, addressing a previous privilege escalation risk (GHSA-j5jq-cr68-v2xx) in the core Users controller.
To ensure all backend users could adjust their own account settings without needing high-level administrative permissions, the controller set its $requiredPermissions property to an empty array. This configuration opened the controller to any authenticated session on the backend.
However, because the controller implemented the platform's standard FormController behavior, it implicitly inherited routing capabilities for multiple CRUD actions. This inheritance exposed a significant attack surface to low-privilege backend accounts.
The core vulnerability lies in the interaction between the MyAccount controller and the FormController behavior. This behavior dynamically registers endpoints such as /create, /update/{id}, and /preview/{id} to facilitate model operations.
Because these routes take an identifier variable straight from the request URI, they feed the parameter directly into the model lookup logic. In the default configuration, the underlying FormController relies on the formFindModelObject() method, which performs a lookup against the unmodified database query of the associated model, Backend\Models\User.
No scoping mechanism was implemented in the initial release of MyAccount to limit query execution to the active user's session identifier. Consequently, any low-privilege authenticated user could execute direct object queries against any arbitrary database record key simply by incrementing the identifier in the URI.
To fully understand the flaw, we must analyze the code structure before and after the remediation applied in version 1.2.14.
In the vulnerable implementation of MyAccount.php, the controller declared the FormController behavior but lacked any controls to suppress actions or scope queries:
class MyAccount extends Controller
{
public $implement = [
\Backend\Behaviors\FormController::class,
];
protected $requiredPermissions = [];
}The patch introduced in commit cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb establishes a defense-in-depth architecture. It implements a routing-level restriction and a query-level security policy:
// modules/backend/controllers/MyAccount.php
class MyAccount extends Controller
{
public $implement = [
\Backend\Behaviors\FormController::class,
];
// Guard the default CRUD actions to prevent routing exposure
protected $guarded = ['create', 'update', 'preview'];
protected $requiredPermissions = [];
// Restrict all FormController query operations to the active session key
public function formExtendQuery(Builder $query): void
{
$query->whereKey($this->user->getKey());
}
}By adding the $guarded array, the system instructs the controller's dispatcher to decline external requests targeting these actions. Additionally, overriding formExtendQuery guarantees that even if a routing bypass occurs, the database query restricts output to the current active user's primary key.
Exploiting this vulnerability requires an attacker to possess valid credentials for any backend role, regardless of its permission level. Upon authenticating and obtaining a valid session cookie, the attacker can leverage standard browser tools or HTTP clients to send targeted requests.
Because the underlying vulnerability belongs to the Insecure Direct Object Reference (IDOR) class, exploitation consists of sequentially scanning the ID parameter in the URL. A typical attack lifecycle is illustrated below:
The following HTTP transaction demonstrates how an attacker retrieves private profile details belonging to the administrator account (ID 1) while authenticated as a low-privilege user:
GET /backend/backend/myaccount/preview/1 HTTP/1.1
Host: target-wintercms.local
Cookie: winter_session=eyJpdiI6Ik...
Connection: closeThe response contains sensitive data fields rendered within the administration form structure:
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
<input type='text' name='User[login]' value='admin_root' readonly />
<input type='email' name='User[email]' value='security_admin@company.corp' readonly />
<input type='text' name='User[first_name]' value='Super' readonly />
<input type='text' name='User[last_name]' value='Administrator' readonly />A notable aspect of the patch for GHSA-mpmw-f6h6-3g26 is the inclusion of dedicated integration tests. The maintainers added MyAccountSecurityTest.php to verify that routing restrictions and model lookups function correctly under adversarial conditions.
The test suite validates that record-scoped actions are strictly non-routable via the controller's action mechanism:
public function testRecordScopedActionsAreNotRoutable(): void
{
$controller = new MyAccount;
foreach (['create', 'update', 'preview'] as $action) {
$this->assertTrue($controller->methodExists($action));
$this->assertFalse($controller->actionExists($action));
}
}Additionally, the test suite verifies that attempts to request another user's record using the internal form-finding routines will fail and throw an ApplicationException:
public function testTheFormLookupIsPinnedToTheCurrentUser(): void
{
$controller = new MyAccount;
$this->assertEquals(
$this->mallory->getKey(),
$controller->formFindModelObject($this->mallory->getKey())->getKey()
);
$this->expectException(ApplicationException::class);
$controller->formFindModelObject($this->alice->getKey());
}The security impact of this vulnerability is classified as Medium, receiving a CVSS v3.1 score of 4.3. The primary compromise occurs at the confidentiality level, as unauthorized backend users can harvest sensitive configuration and contact details belonging to administrative accounts.
The exposed data includes login names, email addresses, assigned security roles, group memberships, and superuser flags. In complex enterprise deployments, exposing these fields assists attackers in conducting targeted social engineering, credential stuffing, or spear-phishing campaigns against administrators.
Importantly, integrity and availability remain unaffected. While the default AJAX write-handlers like update_onSave were technically reachable, pre-existing model-level authorization guards added in version 1.2.13 successfully blocked cross-user database writes, preventing attackers from altering administrative records.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
winter/wn-backend-module Winter CMS | == 1.2.13 | 1.2.14 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-639 |
| Attack Vector | Network (AV:N) |
| Privileges Required | Low (PR:L) |
| Exploit Status | Proof of Concept Available |
| CISA KEV Status | Not Listed |
| Vulnerability Class | Insecure Direct Object Reference |
The system fails to adequately verify if an authenticated user is authorized to access a requested backend record key, allowing the retrieval of arbitrary user model instances.
CVE-2026-109619 (PHP2Shell) is a critical Use-After-Free vulnerability in the core PHP engine caused by improper global state cleanup during out-of-memory exception handling across persistent worker requests.
In Python virtualenv prior to version 21.14.9, activation script generators and configuration writers use Path.exists() before writing files. Because Path.exists() resolves symbolic links, it returns False for dangling symlinks. Consequently, virtualenv skips unlinking pre-planted symbolic links or hard links, writing data directly to target locations outside the intended virtual environment directory.
A remote code execution vulnerability exists in Microsoft .NET due to untrusted data deserialization within the PresentationCore component. The flaw stems from implicit auto-conversion flags during clipboard data retrieval operations.
An out-of-bounds write vulnerability in Microsoft .NET Framework, .NET runtime, and Visual Studio allows unauthenticated remote attackers to execute arbitrary code via crafted pixel-shader bytecode or auto-converted clipboard payloads.
ASP.NET Core contains a thread deadlock vulnerability (CWE-833) that allows an unauthenticated remote attacker to cause a denial of service over the network by exhausting server thread pool resources.
CVE-2026-70035 is a high-severity Remote Code Execution (RCE) vulnerability in Microsoft .NET Framework, .NET runtime, and Visual Studio caused by improper handling during the deserialization of untrusted data (CWE-502). An unauthenticated attacker can execute arbitrary code within the context of the affected process by delivering a crafted serialized payload.