{"id":"CVE-2025-4631","published":"2025-05-31T06:40:58Z","modified":"2025-06-02T15:49:14Z","title":"Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object…","vendor":"unitybusinesstechnology","product":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00764,"percentile":0.56324,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70ff0b6?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2675","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2698","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L3673","tags":[]},{"url":"https://wordpress.org/plugins/profitori/#developers","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2679","tags":[]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":11.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-05-31","earliestUrl":"https://github.com/Nxploited/CVE-2025-4631","repos":[{"name":"Nxploited/CVE-2025-4631","url":"https://github.com/Nxploited/CVE-2025-4631","stars":1,"created":"2025-05-31"}]},"first":{"date":"2025-05-31","source":"PoC-in-GitHub","url":"https://github.com/Nxploited/CVE-2025-4631"},"provenance":"source"},"vendorSlug":"unitybusinesstechnology","affectedVersions":[{"vendor":"unitybusinesstechnology","product":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","versions":[">= 2.0.6.0, <= 2.1.1.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-06-02T15:37:36.932620Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-16542","exploited":false,"provenance":"source"}}