| Title | TOTOLINK A950RG V4.1.2cu.5268_B20221104 OS Command Injection |
|---|
| Description | TOTOLINK A950RG firmware V4.1.2cu.5268_B20221104 (SHA-256 fcf25f006f30575abb7356f0dd4325c4c952bd77f76b98166fbeb0de6c3d2c4f). The upload action in cstecgi.cgi runs before the normal session check and accepts a topic when the text contains UploadCustomModule. Query text is copied into the generated JSON without escaping, so the topic can end at setUpgradeFW and a FileName value can be supplied beside it. setUpgradeFW in upgrade.so places that file name into a shell command. One request with no cookie or token is enough.
CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8 Critical. CWE-862 and CWE-78.
One isolated QEMU run followed the path HTTP, CGI, MQTT broker, cste_sub, then setUpgradeFW. The handler returned its invalid-firmware result and the guest shell wrote a harmless marker. The same upload action without the exception text was rejected as an invalid token. No physical device was tested.
Reported to [email protected]. The vendor confirmed a fix. No CVE is assigned yet and this issue has not been sent to another CNA.
Credit: w0rkd4tt. |
|---|
| Source | ⚠️ https://github.com/w0rkd4tt/Totolink/blob/main/2026/01-unauth-rce-upload-alias.md |
|---|
| User | Dokja Doan (UID 101863) |
|---|
| Submission | 11/08/2026 17:20 (22 days ago) |
|---|
| Moderation | 11/30/2026 09:43 (22 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 195149 [TOTOLINK A800R/A810R/A830R/A950RG/A3000RU/A3100R setUpgradeFW FileName command injection] |
|---|
| Points | 0 |
|---|