Skip to content
Threat Feed
critical advisory

Stack-based Buffer Overflow in Edimax EW-7478APC

Edimax EW-7478APC version 1.04 is vulnerable to a stack-based buffer overflow in the formWanTcpipSetup function, allowing for remote code execution via the pppUserName parameter.

CVE search metadata

CVE search record: CVE-2026-19959. Severity: critical. CVSS: 9.9. KEV: no. Product: EW-7478APC (1.04). Brief: Stack-based Buffer Overflow in Edimax EW-7478APC. Brief link: https://feed.craftedsignal.io/briefs/2026-08-edimax-buffer-overflow/

What's new

  • 1. added detection rule: Detect CVE-2026-19960 Exploitation Attempt - Command Injection Aug 17, 00:42 via nvd
  • 2. added detection rule: Detect CVE-2026-19961 Exploitation Attempt - Remote Buffer Overflow Aug 17, 00:42 via nvd

A stack-based buffer overflow vulnerability has been identified in the Edimax EW-7478APC router, specifically within firmware version 1.04. The vulnerability resides in the formWanTcpipSetup function, accessible via the /goform/formWanTcpipSetup endpoint. An authenticated remote attacker can trigger this overflow by sending a specially crafted input to the pppUserName parameter. This flaw allows for the execution of arbitrary code on the affected device or can result in a denial-of-service condition. Publicly available exploit code exists, increasing the risk of exploitation. The vendor has not provided a patch or response to the disclosure. Defenders should note that this vulnerability requires authenticated access, but its remote nature and the availability of exploit material pose a significant risk to internal network segments where these devices are deployed.

Attack Chain

  1. Attacker performs network reconnaissance to identify reachable Edimax EW-7478APC management interfaces.
  2. Attacker obtains valid administrative or user credentials via secondary means (e.g., credential stuffing or default password exploitation).
  3. Attacker authenticates to the web-based management interface.
  4. Attacker crafts a malicious HTTP POST request targeting the /goform/formWanTcpipSetup endpoint.
  5. Attacker injects a long string payload into the pppUserName parameter of the POST body.
  6. The web server process fails to perform sufficient boundary checks on the pppUserName input before copying it into a stack-based buffer.
  7. The overflow overwrites the return address, enabling redirection of execution flow to arbitrary attacker-supplied shellcode.
  8. Final objective is achieved: arbitrary command execution or system crash.

Impact

Successful exploitation allows for complete compromise of the router, potentially providing an attacker with a pivot point into the local network. With a CVSS v3.1 score of 9.9, this vulnerability represents a critical risk to small office and home office (SOHO) deployments. If exploited, attackers could intercept traffic, perform man-in-the-middle attacks, or deploy further malicious payloads. Given the lack of a vendor patch, the only effective mitigation is to restrict management interface access to trusted networks or replace affected hardware.

Recommendation

  • Restrict access to the management web interface of all Edimax EW-7478APC devices to a dedicated management VLAN or trusted IP addresses via firewall rules.
  • Monitor internal network traffic for unauthorized HTTP POST requests directed at /goform/formWanTcpipSetup.
  • Audit logs for failed authentication attempts preceding any interaction with management endpoints.
  • Isolate affected devices from the internet until a firmware update is provided by the vendor.

Immediate actions

Restrict management interface access via network segmentation or firewall rules

IT Operations 24h

Threat Hunt

Look for POST requests to /goform/formWanTcpipSetup followed by unusual outbound traffic from the device

T1190 high high confidence hunt now

Data: Web logs, Network flows

Mitigations

Disable remote management features on all Edimax EW-7478APC devices

immediate IT Operations

CVE-2026-19959

Detection coverage 3

Detect Exploitation of CVE-2026-19959 - Web Request to formWanTcpipSetup

high

Detects HTTP requests to the vulnerable formWanTcpipSetup endpoint on Edimax devices.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detect CVE-2026-19961 Exploitation Attempt - Remote Buffer Overflow

high

Detects exploitation attempts against CVE-2026-19961 by monitoring HTTP requests to the /goform/formWlSiteSurvey endpoint with excessively long selSSID parameters.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detect CVE-2026-19960 Exploitation Attempt - Command Injection

high

Detects exploitation attempts against the Edimax EW-7478APC /goform/formWlbasic endpoint via the rootAPmac parameter containing command injection characters.

sigma tactics: initial_access techniques: T1203 sources: webserver

Detection queries are available on the platform. Get full rules →