Soumettre #1074363: D-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injectioninformation

TitreD-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injection
DescriptionThe `SetQoSHostInfo` SOAP handler extracts `Hostname`, inserts it into a single-quoted UCI shell command with `sprintf`, and calls `system()` without escaping the value. The vulnerable command fragment is: ```text uci ... set qosinfo.@qosinfo[-1].Hostname='%s' > /dev/null ``` A hostname such as `x';id;#` closes the single-quoted value, executes `id`, and comments out the remaining quote and redirection. The payload fits within the 31-byte hostname limit. The action is reachable without authentication because DHMAPI exempts an outer `API-ACTION: GetDeviceSettings` request from `API-CONTENT` validation while independently dispatching the inner XML action. A `SOAPAction` header satisfies an earlier request gate; no cookie or `API-CONTENT` value is required.
La source⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1
Utilisateur
 Lumina (UID 101162)
Soumission04/11/2026 11:49 (il y a 24 jours)
Modérer28/11/2026 08:47 (24 days later)
StatutAccepté
Entrée VulDB445094 [D-Link R95 1.04B04Beta DHMAPI SOAP Interface /bin/ssi SetQoSHostInfo Hostname élévation de privilèges]
Points20

Do you need the next level of professionalism?

Upgrade your account now!