PoC Monitor
← All CVEs
CVE-2025-4631published 31 May 2025 06:40 UTCData: JSON · API

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.

First public PoC 5 hafter publication · 31 May 2025
Public PoCs11 on GitHub
CVSS9.8critical · scored by CNA · CWE-285
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

unitybusinesstechnology The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis
  • >= 2.0.6.0, <= 2.1.1.3

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published31 May 2025 · t = 0First public PoC31 May 2025 · t+5h

First 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
RepositoryCreatedStarsAssessment
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 repo

GET /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.

GET /wp-content/plugins/profitori/readme.txt
(?i)^/wp-content/plugins/profitori/readme\.txt(?:[?#].*)?$
POST /wp-json/stocktend/v1/stocktend_object
(?i)^/wp-json/stocktend/v1/stocktend_object(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /wp-content/plugins/profitori/readme.txt
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;)
POST /wp-json/stocktend/v1/stocktend_object
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.

GET /wp-content/plugins/profitori/readme.txt
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
POST /wp-json/stocktend/v1/stocktend_object
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