Unauthenticated privilege escalation via unchecked capability write
Published May 31, 2025 · Updated Jun 2, 2025
Improper authorization in The E-Commerce ERP 2.0.6.0 through 2.1.1.3 allows remote attackers to grant administrator privileges. The stocktend_object endpoint invokes save_object_as_user() for objects whose _datatype is users without checking capabilities, then writes attacker-controlled strings to wp_capabilities. Unauthenticated network access is sufficient to elevate an existing or newly created WordPress account to administrator.
Summary
What happened
Improper authorization in The E-Commerce ERP 2.0.6.0 through 2.1.1.3 allows remote attackers to grant administrator privileges. The stocktend_object endpoint invokes save_object_as_user() for objects whose _datatype is users without checking capabilities, then writes attacker-controlled strings to wp_capabilities. Unauthenticated network access is sufficient to elevate an existing or newly created WordPress account to administrator.
The record
- CVE
- CVE-2025-4631
- Published
- May 31, 2025
- Updated
- Jun 2, 2025
- Vendor
- Unity Business Technology Pty Ltd
- Product
- The E-Commerce ERP
- Classifications
- CWE-285, T1098
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 31, 2025CVE publishedPublication date reported by the CVE source.
- Jun 2, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.6.0 <=2.1.1.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo