Vulnerability · Published May 31, 2025 · Assigned by Wordfence
CVE-2025-4631Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object Endpoint
Critical 9.8
In plain English
A critical-severity security flaw in The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis from unitybusinesstechnology. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| unitybusinesstechnology | The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis | 2.0.6.0 – through 2.1.1.3 |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70ff0b6?source=cve
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2675
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2698
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L3673
- https://wordpress.org/plugins/profitori/#developers
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2679