{
  "id": "CVE-2025-4631",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-4631",
  "published_at": "2025-05-31T06:40:58.133Z",
  "title": "Profitori 2.0.6.0 - 2.1.1.3 - Missing Authorization to Unauthenticated Privilege Escalation via stocktend_object Endpoint",
  "vendor": "unitybusinesstechnology",
  "product": "The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-05-31T12:00:22Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.2,
    "repo": "Nxploited/CVE-2025-4631",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-285",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "Nxploited/CVE-2025-4631",
      "url": "https://github.com/Nxploited/CVE-2025-4631",
      "created_at": "2025-05-31T12:00:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-11-18T04:36:06Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "unitybusinesstechnology",
        "product": "The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis",
        "ranges": [
          "\u003e= 2.0.6.0, \u003c= 2.1.1.3"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/wp-content/plugins/profitori/readme.txt",
      "protocol": "https",
      "repos": [
        "Nxploited/CVE-2025-4631"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Nxploited/CVE-2025-4631/CVE-2025-4631.py:39"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-json/stocktend/v1/stocktend_object",
      "protocol": "https",
      "repos": [
        "Nxploited/CVE-2025-4631"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Nxploited/CVE-2025-4631/CVE-2025-4631.py:70"
      ]
    }
  ],
  "rules": []
}
