What the vulnerability does
01Description
The Profitori plugin for WordPress is vulnerable to Privilege Escalation due to a missing capability check on the stocktend_object endpoint in versions 2.0.6.0 to 2.1.1.3. This makes it possible to trigger the save_object_as_user() function for objects whose '_datatype' is set to 'users',. This allows unauthenticated attackers to write arbitrary strings straight into the user’s wp_capabilities meta field, potentially elevating the privileges of an existing user account or a newly created one to that of an administrator.
Explanation of Vulnerability in Simple Terms
02Summary
An unauthenticated attacker can read, modify, or delete data in The E-Commerce ERP system versions 2.0.6.0 through 2.1.1.3. The vulnerability stems from improper access control that fails to enforce authorization checks on sensitive operations. No user interaction or special network conditions are required. Affected organizations should update immediately.
What an attacker can do
03Attacker Capabilities
Read, modify, or delete any data in the ERP system without authentication.
Potential impact on your site
04Site Impact
Complete compromise of ERP data including inventory, orders, accounting records, and manufacturing data.
Conditions required to exploit
05Prerequisites
Network access to the application. No authentication or user interaction required.
Key dates
06Disclosure timeline
May 31, 2025
CVE published
June 2, 2025
Record updated