Summary
The Web Administration Interface in Chengdu Feiyuxing Technology VW2100 and VEC10GP devices has an OS command injection vulnerability in the add_expmac function. A remote attacker who can reach the affected function may be able to cause operating-system commands to run through manipulation of the mac argument; public exploit information is available.
Affected context
The issue is reported in VW2100 and VEC10GP devices running version 1.0 B-MB3W202-210825-r11775. It occurs in the Web Administration Interface, in the add_expmac function associated with var/html/webserver. Risk depends on whether the interface is reachable by an attacker and whether requests can reach the affected function; the available information does not establish authentication requirements.
Exploit preconditions
- Attack surface: The device's Web Administration Interface must be reachable over a network.
- Required access: The available report does not specify whether authentication is required.
- Trigger point: A request must reach the
add_expmacfunction with attacker-influencedmacdata. - Why exploitation is possible: The argument is handled in a way that allows command syntax to affect operating-system command execution.
- Exploit availability: Public exploit information has been reported.
Why this happens
The reported behavior is consistent with CWE-78: Improper Neutralization of Special Elements used in an OS Command. The underlying bug class is passing attacker-controlled data into an operating-system command without reliably separating data from command syntax. CWE-77, improper neutralization of special elements in a command, is also associated with this issue.
Potential impact
- An attacker may execute operating-system commands on the affected device.
- Device settings or services could be altered.
- Sensitive device data could be accessed or modified, depending on the process's privileges.
- A compromised device could potentially be used to affect other systems reachable from its network.
General mitigation guidance
Defensive patterns focus on preventing untrusted input from becoming command syntax:
- Prefer APIs that invoke a specific operation directly without a shell.
- Where command execution is necessary, use fixed commands and structured argument passing rather than building command strings.
- Validate input against a strict, context-appropriate format and reject unexpected values.
- Limit the privileges available to web-facing processes and restrict their access to operating-system resources.
- Reduce exposure of administrative interfaces through network segmentation and access controls.
How teams detect issues like this
- Use static analysis to find shell invocation and command-string construction that incorporates request parameters.
- Review the
add_expmaccode path and related handlers for validation, escaping, and argument-boundary controls. - Monitor administrative-interface requests and device logs for unusual command execution or unexpected configuration changes.
- Apply policy checks that restrict shell use in web-facing code and require security review for command-execution APIs.
- Automated code review tools may help identify risky input-to-command data flows.

