Unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis
Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object Endpoint
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.6.0, <= 2.1.1.3
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 5 h after publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-4631 (created 31 May 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2025-4631 | 31 May 2025 +5 h | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /wp-content/plugins/profitori/readme.txt
- Seen in
- 1 repo: Nxploited/CVE-2025-4631
- Evidence
- Nxploited/CVE-2025-4631/CVE-2025-4631.py:39
POST /wp-json/stocktend/v1/stocktend_object
- Seen in
- 1 repo: Nxploited/CVE-2025-4631
- Evidence
- Nxploited/CVE-2025-4631/CVE-2025-4631.py:70
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-content/plugins/profitori/readme\.txt(?:[?#].*)?$
(?i)^/wp-json/stocktend/v1/stocktend_object(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-4631 unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/profitori/readme.txt"; reference:url,poc.griffinguard.io/cve/CVE-2025-4631; classtype:web-application-attack; sid:9434015; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-4631 unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-json/stocktend/v1/stocktend_object"; reference:url,poc.griffinguard.io/cve/CVE-2025-4631; classtype:web-application-attack; sid:9401665; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis exploit attempt (CVE-2025-4631)
id: gg-pocmon-cve-2025-4631-9434015
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-4631. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-4631
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/profitori/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.4631
title: unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis exploit attempt (CVE-2025-4631)
id: gg-pocmon-cve-2025-4631-9401665
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-4631. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-4631
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-json/stocktend/v1/stocktend_object'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.4631