CVE-2025-4631
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-31
- Last modified
- 2026-06-17
- Assigned by
- security@wordfence.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- security@wordfence.com
- Probability of exploitation
-
0.6 %
higher than 47 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| unitybusinesstechnology | The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis | ≥ 2.0.6.0, ≤ 2.1.1.3 | Affected |
Weakness type
-
CWE-285: Improper Authorization
The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1005: Data from Local System
- T1012: Query Registry
- T1083: File and Directory Discovery
- T1134.001: Token Impersonation/Theft
- T1550.004: Web Session Cookie
- T1552.002: Credentials in Registry
- T1565.002: Transmitted Data Manipulation
- T1574.005: Executable Installer File Permissions Weakness
- T1574.006: Dynamic Linker Hijacking
- T1574.007: Path Interception by PATH Environment Variable
- T1574.010: Services File Permissions Weakness
References
- 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#L2679
- 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://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.