Description
The web-based management interface uses a modified uhttpd server with CGI shell scripts. The HTTP Basic Authentication username, taken directly from the Authorization header without sanitization, is inserted into a shell command string executed via the system() function. By submitting a specially crafted username containing shell metacharacters, an unauthenticated attacker with network access to the device can escape the command context and execute arbitrary commands with root privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Weidmueller Interface | IE-SR-2TX-WL | 1.52 – < 1.57 | 1.57 |
| Weidmueller Interface | IE-SR-2TX-WL-4G-EU | 1.67 – < 1.74 | 1.74 |
| Weidmueller Interface | IE-SR-2TX-WL-4G-US-V | 1.67 – < 1.74 | 1.74 |