GCVE-1988-2026-0494
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Edimax | BR-6478AC firmware |
Affected:
unknown
|
guessed |
{
"containers": {
"cna": {
"affected": [
{
"product": "BR-6478AC firmware",
"vendor": "Edimax",
"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\nEdimax BR-6478AC, firmware image BR6478AC_v2.20.bin, the dual-band AC1750 SOHO\nwireless router from Edimax Technology Co., Ltd. (Taiwan). A single\nauthenticated POST to a manufacturing radio-calibration route that is still\nregistered in production firmware reaches system() with thirty raw request\nfields interpolated into one command line, and the web server process that\nexecutes it runs as root.\n\nType and root cause. CWE-78, OS command injection, in the formWlanMP handler\nof bin/webs, the embedded GoAhead-style HTTP server that serves the management\ninterface on TCP port 80. The binary is ELF 32-bit big-endian MIPS, MIPS-I,\nuClibc, stripped, 762904 bytes, SHA256\nec39c0f9332361e37ab92f1999ac5f00f5742dd6db75f7cb26c0652cfedb32a1, from a\nSquashFS root filesystem of roughly 2.3 MB with an internal build timestamp\nfrom 2015. The registration websFormDefine(\"formWlanMP\", ...) at 0x477a1c\npublishes POST /goform/formWlanMP, whose handler at 0x462a24 reads thirty\nradio automatic-test-equipment and EEPROM calibration fields through\nwebsGetVar at 0x412a7c, reached via the function-pointer table entry at\n0x4c6b18: ateFunc, ateGain, ateTxCount, ateChan, ateRate, ateMacID,\ne2pTxPower1 through e2pTxPower7, e2pTx2Power1 through e2pTx2Power7,\nateTxFreqOffset, ateMode, ateBW, ateAntenna, e2pTxFreqOffset, e2pTxPwDeltaB,\ne2pTxPwDeltaG, e2pTxPwDeltaMix, e2pTxPwDeltaN and readE2P, plus a submit-url\nfield. Every one of them is formatted, raw, into a single command line by\nsprintf at 0x462fd0 using the format string at 0x4a0d98,\n\n/bin/rftest_old.sh %s %s ... (thirty %s conversions)\n\nand the result is handed to system(buf) at 0x46308c, whose PLT stub sits at\n0x490020 with relocation 0x18b. Between websGetVar and system there is no\nvalidation of any kind: no atoi, no inet_aton, no strchr, no isdigit, no\nstrcspn, no character filter, no length check beyond buffer capacity, no\nargument quoting and no switch to an argv-style exec. The only transformation\non the path is cosmetic: an empty field is replaced with the literal word null\nso that argument positions stay aligned. That is filler, not a filter, and it\nremoves no shell metacharacter.\n\nsystem() is not an exec of the named program; it is fork plus execl of /bin/sh\nwith -c, so the entire shell grammar is available to the payload and no\nquoting exists to escape out of. Command substitution with $(...) is evaluated\nduring expansion, before the simple command is looked up, which is the payload\nused here; backticks are equivalent; a semicolon terminates the current\ncommand; a pipe or an ampersand turns the line into a pipeline or a background\njob, with a trailing hash neutralising the rest of the format string; and an\nembedded newline is a command separator that websGetVar does not strip,\nbecause it removes only a trailing one. A field value of ateFunc=$(id \u003e\n/tmp/marker) therefore runs id first.\n\nThe shipped root filesystem contains rftest.sh but not rftest_old.sh, so the\ncommand word in the constructed line does not resolve and the shell exits 127.\nThis looks like a mitigation and is not one: expansion precedes program\nlookup, so the injected command has already executed by the time the shell\nreports the missing script. The replication run reproduced exactly that exit\nstatus alongside a correctly written marker file. The practical consequence\nfor anyone auditing this handler family is that no deny-list approach can\nsucceed here, because the payload space is the whole shell grammar and the\ninterpolation is unquoted; only removing the interpolation or removing the\nshell helps.\n\nAuthentication and reach. The route requires a valid administrative session in\nnormal operation. The gate auth_authorize at 0x404d00 reads configuration\nobject 0x1bc, the setup-wizard flag, through apmib_get; once the device is\npast setup the security store at 0x4c7004, a single / entry of type Basic\nregistered from the directive \"Auth / /etc/boa/boa.passwd\" by the Auth handler\nat 0x40814c, covers every /goform/ path with HTTP Basic authentication. The\nproduct has no second, lower-privileged role: one realm entry, one password\nfile, one account, an Allow directive handler in this build that is a\nnon-functional stub answering \"This version of Boa doesn\u0027t support access\ncontrols\", and a shipped configuration carrying one Auth directive and no\nAllow directive. Privileges Required is therefore High, not Low.\n/goform/formWlanMP is not one of the four routes carrying a post-boot uptime\ngate (/mp.asp, /goform/mp, /advanced_management.asp and\n/goform/formAdvManagement, which redirect to /index.asp once /proc/uptime\nexceeds 600 seconds), so unlike the neighbouring manufacturing route it is\nreachable at any time while the device is running.\n\nExecution identity. The calling process is webs and webs is root, because the\nshipped etc/boa/boa.conf declares User root, the same file whose AddType\napplication/x-httpd-cgi asp entry binds .asp pages as CGI. The server is\nstarted by the boot path cleanlog.sh:131 invoked from init.sh:1115 during\nearly init, writes /var/run/webs.pid, which on this root filesystem requires\nroot to create, and performs no setuid, chroot, namespace or capability drop.\nThe landing identity is uid=0(root) and no privilege escalation is involved:\nthe executing process is already root.\n\nScope of the pattern. This is one instance of a broad construction rather than\nan isolated slip. A count of the shipped registration table found 91\n/goform/form* handlers, of which roughly 85 reach a system() or popen() call.\nTwo further sinks were examined and are reported without a score: the\nuptime-gated manufacturing route /goform/mp, which is exploitable in principle\nbut confined to a 600-second post-boot window and carries the same\nfactory-test character, and the miniigd UPnP IGD daemon on UDP and TCP port\n52869, whose SOAP surface has a command sink that is unauthenticated but\nLAN-only under the shipped firewall policy. Four candidates that yielded no\nestablished request-controlled path to command execution are named as excluded\nrather than dropped silently: formrefresh, formAutoFWupgrade,\nformPreventionSetup and wscd.\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 = 1 - 0.44^3 =\n0.914816, Impact at S:U = 6.42 x 0.914816 = 5.873119, Exploitability = 8.22 x\n0.85 x 0.77 x 0.27 x 0.85 = 1.234708 and Base = Roundup(5.873119 + 1.234708) =\nRoundup(7.107826) = 7.2. The provenance of that number is disclosed because it\nis a correction: the research notes behind this work carried 8.8 written next\nto a PR:H vector, and 8.8 is the arithmetic of PR:L rather than of PR:H, so\nthe figure was recomputed from the vector and published at 7.2, lowering the\nresearchers\u0027 own number by 1.6 points. Four further readings are printed with\ntheir arithmetic. Privileges Required Low is rejected at 8.8 High, from\nExploitability 2.835255 and Base Roundup(8.708373), because the product has no\nbasic-user role for that metric to describe. Scope Changed is rejected at 9.1\nHigh, from Impact at S:C = 6.128026, Exploitability 2.286496 and Base\nRoundup(1.08 x 8.414522), because webs is root before the attack and root\nafter it and nothing is escaped. Attack Complexity High is rejected at 6.6\nHigh, from Exploitability 0.705547 and Base Roundup(6.578666), because nothing\nabout success depends on a condition outside the attacker\u0027s control: no race,\nno window, no memory layout, no gadget, no user-specific state. An\nadjacent-only reading is published as an alternative rather than rejected\noutright, at 6.8 High on AV:A from Exploitability 0.900610 and Base\nRoundup(6.773729), and it is the honest description of a stock device whose\nWAN-side input policy drops new connections: the shipped firewall script sets\na default DROP input policy at firewall.sh:187, drops WAN-originated SYN at\nfirewall.sh:180 and accepts input on other interfaces at firewall.sh:189. AV:N\nis retained because the service is bound to the device\u0027s own network stack and\nis addressable over IP by every host on the segment the router serves,\nincluding guest wireless clients and anything bridged or compromised behind\nit, and because two ordinary documented product features, remote management on\nthe WAN side and forwarding port 80, move an attacker to the open internet.\nDefault internet exposure is not claimed anywhere.\n\nTwo readings at 9.8 Critical are published as explicitly labelled conditionals\nand are never the headline. The first applies where a deployment still accepts\nthe factory credential shipped in the firmware, and it is reasoned rather than\ndemonstrated: no physical device was authenticated against, so the path is an\ninference from the shipped password file plus the injection proven at the\nsink, and its Scope Changed variant, which computes to 10.0, is deliberately\nnot published for the Scope reason above. The second applies to a device still\nin its pre-configuration setup state: when configuration object 0x1bc reads\nzero, auth_authorize returns success without issuing a challenge for any path\noutside /mp.asp, /index.asp and /, at 0x4052d0, while /generate_204 answers\n204, which is captive-portal behaviour. Three shipped artefacts identify that\nstate as the setup wizard rather than normal operation: formwizResetDefault at\n0x44cdbc resets the device and displays Resettowizard, formWizSetup prints NO\n- LOGIN-WEB when the flag is set to 1, and management pages such as\nweb/inter_wan.asp:214 and web/admin_timezone.asp:95 read the same flag to\nswitch their interface. That branch is structural inference only, read from\nthe binary and never exercised, and the state ends when setup completes; an\nearly pass of this research misread it as an unauthenticated post-setup state,\nand the correction downgraded the finding to PR:H. If the window has to be\ncontested rather than simply found open, the reading is 8.1 High from\nExploitability 2.221167 and Base 8.094286.\n\nThe factory credential is a separate weakness and not the vector. The image\ncontains a populated /etc/boa/boa.passwd in a read-only SquashFS filesystem,\nreferenced by the single Auth directive in etc/boa/boa.conf, and the model\u0027s\npublished factory login is admin:1234. It is reported as CWE-798 in its own\nright, without a score, because scoring it inside this advisory would\ndouble-count it against the first conditional reading. Two limits are stated\nrather than smoothed over. First, no cryptographic match between the shipped\ndigest and any specific password is claimed: the digest string captured during\nanalysis was recorded incompletely, so no comparison was published, and the\nweakness rests on the artefact, a pre-populated shared credential store inside\nthe firmware image, plus the widely published factory login. The digest\nalgorithm is MD5-crypt. Second, the single account entry in the image examined\nis recorded under the name root while the model\u0027s published management login\nis admin; because no device was ever authenticated against, which user name\nthe HTTP realm accepts was not established, and no specific username is\nasserted as verified. Nothing rated here turns on that detail. Absence of\nprivilege separation is likewise reported separately as CWE-250: bin/webs\nserves untrusted HTTP input while running as root, which is what converts\nevery injection in the handler population into full-device takeover.\n\nVerification method, and its boundary. This is the load-bearing limitation of\nthe research and it is published prominently rather than buried. No physical\ndevice was powered on and no end-to-end HTTP request was ever accepted by the\nproduct. The HTTP leg, being request parsing, the authentication gate, form\nregistration, handler dispatch and the complete absence of validation between\nsource and sink, is evidenced at instruction level from the shipped binary,\nits configuration and its boot scripts, and was confirmed by two independent\nreview passes: one re-deriving the sink from"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-798",
"description": "CWE-798",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:03Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/28"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/28"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/edimax-br-6478ac-formwlanmp-command-injection-root-rce"
},
{
"url": "https://0day-rubbish.com/blog/edimax-br-6478ac-setwan-command-injection-root-rce"
},
{
"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/28"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the formWlanMP manufacturing-test handler, root command execution (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0494",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/28",
"automated": true,
"contentSha256": "60e651bf9d3810b6a76af98ef71f0934fc986a829d976f5d5b27734cc7d8e0d8",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/28",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-20T02:30:16Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:03Z",
"dateUpdated": "2026-11-02T07:30:03Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0494"
},
"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.