{"id":"CVE-2025-4631","state":"PUBLISHED","title":"Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object Endpoint","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.","publishedAt":"2025-05-31T06:40:58.133Z","updatedAt":"2025-06-02T15:49:14.554Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence"},"assigner":"Wordfence","products":["unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis"],"affected":[{"vendor":"unitybusinesstechnology","product":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","defaultStatus":"unaffected","versions":[{"version":"2.0.6.0","status":"affected","lessThanOrEqual":"2.1.1.3","versionType":"semver"}]}],"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"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/4xxx/CVE-2025-4631.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-4631","state":"PUBLISHED","datePublished":"2025-05-31T06:40:58.133Z","dateUpdated":"2025-06-02T15:49:14.554Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-05-12T22:18:05.706Z"},"containers":{"cna":{"title":"Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object Endpoint","descriptions":[{"lang":"en","value":"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":[{"vendor":"unitybusinesstechnology","product":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","defaultStatus":"unaffected","versions":[{"version":"2.0.6.0","status":"affected","lessThanOrEqual":"2.1.1.3","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70ff0b6?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2675"},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2698"},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L3673"},{"url":"https://wordpress.org/plugins/profitori/#developers"},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2679"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285 Improper Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2025-05-31T06:40:58.133Z"},"credits":[{"lang":"en","type":"finder","value":"Kenneth Dunn"}],"timeline":[{"time":"2025-05-30T18:08:49.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-02T15:37:36.932620Z","id":"CVE-2025-4631","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-02T15:49:14.554Z"}}]}}}