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.
Summary
AIThe web-based management interface inserts an unsanitized HTTP Basic Authentication username into a shell command. An unauthenticated attacker with network access can submit a crafted username to execute arbitrary commands as root; no user interaction is required.
Who should check
Operators of Weidmueller Interface IE-SR-2TX-WL, IE-SR-2TX-WL-4G-EU, or IE-SR-2TX-WL-4G-US-V should check their devices; affected versions were not specified.
What to do
- 1Consult the vendor advisory for affected versions and remediation guidance.