Submit #189798: Remote OS command Injection at setDiagnosisCfg on TOTOLink EX1200Linfo

TitelRemote OS command Injection at setDiagnosisCfg on TOTOLink EX1200L
Beschreibung## Description and impact Function `setDiagnosisCfg` executes os command `ping`. An attacker can execute remote os command using crafted payload at `Ping Address` ## Root-cause When the function `setDiagnosisCfg` is called, it crafts the ping command following syntax `ping %s -w %d &>/var/log/pingCheck` The value of `Ping Address` is not validated, therefore an attacker can send a craftted payload to execute OS command and get the command output with `getDiagnosisCfg` ![image](https://user-images.githubusercontent.com/29118926/257681109-d7537698-dd93-4ce5-be77-70cecd179d4c.png)
Quelle⚠️ https://gist.github.com/dmknght/02a29e1c5ae18b45eacc2085d22068e8
Benutzer
 dmknght (UID 51830)
Einreichung02.08.2023 04:36 (vor 3 Jahren)
Moderieren18.08.2023 10:04 (16 days later)
StatusAkzeptiert
VulDB Eintrag237513 [TOTOLINK EX1200L EN_V9.3.5u.6146_B20201023 setDiagnosisCfg erweiterte Rechte]
Punkte20

Do you know our Splunk app?

Download it now for free!