CVE-2020-21883
Description
Unibox U-50 2.4 and UniBox Enterprise Series 2.4 and UniBox Campus Series 2.4 contain a OS command injection vulnerability in /tools/ping, which can leads to complete device takeover.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- Unibox/Unibox U-50description
- Range: 2.4
- Range: 2.4
Patches
Vulnerability mechanics
Root cause
"The /tools/ping endpoint does not sanitize the 'address' POST parameter, allowing shell metacharacters to be injected into a system command."
Attack vector
An authenticated attacker sends a POST request to /tools/ping with a crafted 'address' parameter containing command injection payloads (e.g., `1;id`). The device does not validate a CSRF token, so an attacker can also trick an authenticated victim into opening a malicious URL, causing the victim's browser to execute the same POST request and compromise the device [ref_id=1]. This leads to remote code execution as the www-data user and complete device takeover [ref_id=1][ref_id=2].
Affected code
The vulnerable endpoint is /tools/ping [ref_id=1][ref_id=2]. The 'address' POST parameter is passed unsanitized to a system-level ping command, allowing shell injection.
What the fix does
No patch has been published by the vendor. The advisory reports that the vendor was contacted but no response was received, and no fix has been released [ref_id=1][ref_id=2]. Remediation would require the vendor to implement input validation on the 'address' parameter to reject shell metacharacters, and to add CSRF token validation to the /tools/ping endpoint.
Preconditions
- authAttacker must be authenticated to the UniBox web interface, or trick an authenticated victim into visiting a crafted URL (due to missing CSRF token validation)
- networkThe /tools/ping endpoint must be reachable over the network
- inputThe 'address' parameter is not sanitized, allowing shell metacharacters
Reproduction
curl -i -s -k -X $'POST' -H $'Host: <target-ip>' -H $'User-Agent: Mozilla/5.0 (X11; Linux rv:68.0) Gecko/20100101 Firefox/68.0' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H $'Accept-Language: en-US,en;q=0.5' -H $'Accept-Encoding: gzip, deflate' -H $'Referer: http://<target-ip>/tools/ping' -H $'Content-Type: application/x-www-form-urlencoded' -H $'Content-Length: 25' -H $'Connection: close' -H $'Cookie: PHPSESSID=<valid-session>' -H $'Upgrade-Insecure-Requests: 1' -b $'PHPSESSID=<valid-session>' --data-binary $'pingaction=1&address=1;id' $'http://<target-ip>/tools/ping' [ref_id=1]
Generated on May 31, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
3- wifi-soft.commitrex_refsource_MISC
- s3curityb3ast.github.io/KSA-Dev-009.txtmitrex_refsource_MISC
- www.mail-archive.com/fulldisclosure%40seclists.org/msg07140.htmlmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.