GCVE-1988-2026-0503
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Moxa | MAR-2000 firmware |
Affected:
unknown
|
guessed |
{
"containers": {
"cna": {
"affected": [
{
"product": "MAR-2000 firmware",
"vendor": "Moxa",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in the Moxa\nMAR-2000 series industrial 4G/LTE cellular router, firmware image\nFWR_MAR2000_V1.0_Build_15010909, from Moxa Inc. (Taiwan). An authenticated\nadministrator converts one stored VPN address field into arbitrary command\nexecution as the identity of the product\u0027s model process, because the IPsec\nmodel manages the tunnel\u0027s addresses and routes by interpolating stored,\nnever-validated configuration values into shell command lines. The payload\nis committed by one request and executes at a lifecycle moment the product\nperforms on its own. This is one of three independent command injection\nfindings documented for this product and released together as a set.\n\nType and root cause. CWE-78, OS command injection, with CWE-20 co-equal, in\nthe IPsec model at /home/model/network/ipsec/ipsec.py inside the ARM\nDebian 6.0.8 root filesystem of the firmware, which runs the vendor\u0027s MIRF\n(Mobile Intelligent Routing Framework) stack: a Node.js Express 4.0\nmanagement application on port 80 bound to all interfaces, the express-sanji\nmiddleware bridging REST resources onto a local MQTT broker, and Python 2.6\nmodel scripts that persist configuration and act on it. The model stores\ntunnelModeTable - whose keys include localVpnIp, tunnelRemoteVpnIp and\ntunnelRemoteVpnInterface - together with transModeTable, as JSON\nconfiguration written through the authenticated PUT /api/v1/network/ipsec\nresource. When the IPsec service applies the tunnel, the model calls its\nlifecycle functions, and every one of the four interpolates the stored\nfields into an ip command line and hands it to\nsubprocess.call(cmd, shell=True):\n\n```\nadd_ip: cmd = \u0027ip addr add %s dev eth%s\u0027 % (localVpnIp + \u0027/\u0027\n + \u003ccomputed subnet part\u003e, tunnelRemoteVpnInterface)\ndel_ip: \u0027ip addr del %s dev eth%s\u0027 with the same stored fields\nadd_route: cmd = \u0027ip route add to %s via %s src %s\u0027 % (ipRange,\n localVpnIp, localVpnIp)\ndel_route: cmd = \u0027ip route del %s\u0027 % ipRange\n```\n\nThe stored value sits at the front of the command line, ahead of every\nliteral token the product contributes, so a semicolon inside the value ends\nthe ip operation before any product token can interfere with the injected\nstatement. One stored localVpnIp arms several commands at once: it is the\noperand of add_ip and del_ip and both the via and src operands of\nadd_route, so whichever lifecycle function a tunnel apply reaches first\ncarries the payload. The write side applies exactly one filter,\nclean_data(), whose entire behaviour is to delete dictionary keys the model\ndoes not recognise: no value is inspected, an address format is never\nchecked, and the payload rides a key the whitelist expects, so the filter\nis not even encountered as an obstacle. An administrator who stores\n\"10.10.10.1; \u003ccommand\u003e; #\" in that field has authored\n\n```\nip addr add 10.10.10.1; \u003ccommand\u003e; #/24 dev eth0\n```\n\n- the ip segment fails harmlessly as an address operation, the injected\nstatement executes under the shell, and the hash sign comments away the\ntemplate tail. A fifth related construction sits in the same model:\nupdate_config_file() assembles IPsec configuration lines interpolating\ntransModeTable\u0027s transServerIp and transClientIp into the stored\nconfiguration file - the same unvalidated-field pattern, not exercised in\nthis research record, reported as structure rather than as a detonated\nsink.\n\nAuthentication and reach. The validateUser middleware is the only\nauthentication check on the REST surface: it requires a server-side session\nfor every non-GET method, and login is POST /api/login compared against\nbcrypt-hashed entries in the SQLite user table. The PUT that plants the\npayload requires the session; past that check there is no second\nauthorisation layer, the broker leg carries no identity, and the model\nimplements no permission judgement, so the product\u0027s single documented\nrole, the device administrator, is the whole security boundary. The\nlistener binds all interfaces on port 80 in the shipped firmware; no WAN\nexposure is assumed anywhere in the published rating.\n\nSeverity. The published score is 7.2 High,\nCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, from ISS = 0.914816, impact\n5.873119, exploitability 1.234708 and base 7.107826 rounded up to 7.2,\nPrivileges Required High being the product\u0027s single administrator role. A\nlabelled conditional and never the headline: where a deployment still runs\nthe factory default administrator pair carried by the shipped firmware\u0027s\nSQLite user table, the prerequisite collapses and the chain reads 9.8\nCritical on the PR:N vector (exploitability 3.887043, base 9.760161); a\nchanged credential removes it, and the default pair is disclosed as a\nseparate weakness, never folded into the published vector. A PR:L reading\nof 8.8 High is published only as the arithmetic of the rejected variant.\nThe score provenance is disclosed in public: the research record behind\nthis advisory carried 8.8 for all three same-product findings, that figure\nis the arithmetic of a PR:L vector, no artefact shows a lower-privileged\nproduct role, and every published number was recomputed from its own\nvector - which lowered the researchers\u0027 own figure by 1.6 points. A\nScope-Changed reading computes to 9.1 and is deliberately not published,\nbecause the model process belongs to the same single-purpose appliance\nauthority, and managing the appliance\u0027s interfaces and routes through its\nmanagement plane is the product\u0027s design rather than an escape.\n\nVerification method, and its boundary. Two evidence classes carry the\nfinding, kept separate in the published advisory. The firmware\u0027s own\napplication sources establish the configuration write, the key-only\nvalidation, and the four command constructions, read from the shipped\nfiles. The dynamic layer is a sink-level replication on an isolated cloud\nLinux sandbox: each of the four constructions, with the same template, the\nsame field position and the same shell=True hand-off, was executed with an\ninjected address value and separately with a benign control. All four\nproduced a marker file containing uid=0(root) under the payload; the\ncontrol produced no marker and no side effect of any kind. The boundary is\nstated plainly: end-to-end detonation against powered-on hardware,\nincluding the exact tunnel-apply moment at which the stored value is\nconsumed, is outside this research record, and the on-device model process\nidentity was neither measured nor claimed - uid=0(root) is the replication\nsandbox\u0027s identity and nothing broader rests on it.\n\nImpact. Arbitrary command execution as the identity of the Python model\nprocess, begun by one authenticated configuration write and delivered by a\nlifecycle step the product performs on its own, with no race and no\nprotocol manipulation anywhere in the chain. The payload is stored\nconfiguration: it persists across reboots, is read fresh at each tunnel\napplication, and the same single field reaches several sinks at once. The\nexecuting process is the device\u0027s own model daemon performing a\nroutine-sounding job, so detection signals are content-level: tunnel-table\nvalues whose address operand contains a semicolon, pipe,\ndollar-parenthesis, backtick or newline; unexplained child processes under\nthe model daemon; ip command failures whose operand text contains shell\nmetacharacters - and a legitimate address never contains any of them.\nReaching the route-management sinks also means owning the device\u0027s\nforwarding state, on a device deployed as communication infrastructure. The\nweb stack\u0027s separate property of answering unauthenticated GET requests\nacross the API surface - which lets an intruder enumerate stored tunnel\nsettings - is a read-exposure issue reported on its own and is not part of\nthis chain.\n\nRemediation: manage addresses and routes without a shell, building each ip\noperation as an argument vector launched without /bin/sh, which removes the\nmetacharacter question for all four constructions at once; validate every\naddress-shaped field at the model\u0027s write boundary so the component that\ninterpolates the value rejects non-addresses, not only a web form the\nbackend cannot assume is the only writer; turn clean_data() into a value\nvalidator at that natural choke point; treat the configuration-file\nassembly under the same rule; and add a regression test that stores a\nmetacharacter-bearing localVpnIp, drives a tunnel apply, and asserts\nrejection at write time or execution without shell interpretation.\nOperators until a patch exists: change the factory default administrator\ncredential at commissioning, keep the management listener off WAN-facing\naddresses, audit stored IPsec tunnel tables for shell metacharacters, and\ndisable IPsec where tunnels are not used so the model\u0027s lifecycle has\nnothing to apply.\n\nProof of concept. The published tool is a standard-library-only Python 3\nclient that drives the entry path: it logs in, reads the current IPsec\nconfiguration, writes the tunnel table\u0027s local VPN address field carrying\nthe payload, and reports what the stored value will do at each of the four\nconstructions and at which lifecycle occasion the model consumes it. It\ntakes target, credential, command and timeout arguments; the default target\nis loopback; it verifies each response and exits non-zero with an explicit\nmessage on failure. It does not attempt to drive the tunnel lifecycle\nitself, and no persistence, reverse shell or destructive action is\nimplemented. Use it only against systems you own or are authorised to test.\n\nThe vendor\u0027s product security team mailbox, published on the vendor\u0027s own\nsecurity advisories page, was used for the unconditional notification; no\nreport form was submitted and no individual was addressed by name. This\ndisclosure is unconditional: the research is published, no permission was\nasked for, no embargo was requested, nothing is withheld pending a reply,\nand remediation questions are answered at no cost. No vulnerability\nidentifier has been assigned to this finding.\n\nTwo companion advisories for the same product are published alongside this\none, independent findings that share only the entry architecture - a\ndifferent model file, REST resource, configuration field and sink each: an\nExecuter program-activation injection through the stored argument field of\na shell-interpreted program launch, and a scenario ping condition injection\nthrough the auto-executing ping thread, both at the second and third URLs\nbelow.\n\nFull technical analysis and the reproducible proof of concept, published\nunconditionally:\n https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection\n\nCompanion advisories for the same product, independent findings:\n https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection\n https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\n--\n0day Rubbish Research Team\ndisclosure () 0day-rubbish com\nhttps://0day-rubbish.com\n_______________________________________________\nSent through the Full Disclosure mailing list\nhttps://nmap.org/mailman/listinfo/fulldisclosure\nWeb Archives \u0026 RSS: https://seclists.org/fulldisclosure/"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/53"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/53"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/53"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 IPsec tunnel address command injection through the route-management shell commands (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0503",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/53",
"automated": true,
"contentSha256": "495adc35af2466ab65f47c5822fd2ba376f90412a5f9bfa9ee356b5e7850970a",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/53",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:39:01Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0503"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.