{"id":"CVE-2021-27691","sourceIdentifier":"cve@mitre.org","published":"2021-04-16T00:15:12.007","lastModified":"2026-06-17T03:45:20.533","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Command Injection in Tenda G0 routers with firmware versions v15.11.0.6(9039)_CN and v15.11.0.5(5876)_CN , and Tenda G1 and G3 routers with firmware versions v15.11.0.17(9502)_CN or v15.11.0.16(9024)_CN allows remote attackers to execute arbitrary OS commands via a crafted action/setDebugCfg request. This occurs because the \"formSetDebugCfg\" function executes glibc's system function with untrusted input."},{"lang":"es","value":"Una Inyección de Comandos en routers Tenda G0 con versiones de firmware v15.11.0.6 (9039) _CN y v15.11.0.5(5876) _CN, y routers Tenda G1 y G3 con versiones de firmware v15.11.0.17(9502) _CN o v15. 11.0.16(9024) _CN, permite a atacantes remotos ejecutar comandos arbitrarios del sistema operativo a través de una petición action/setDebugCfg deseñada.&#xa0;Esto ocurre porque la función \"formSetDebugCfg\" ejecuta la función del sistema de glibc con una entrada que no es de confianza"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-78"},{"lang":"en","value":"CWE-119"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g0_firmware:15.11.0.5\\(5876\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"793EB1BA-9500-4F92-8B2F-05A3E7BF6B28"},{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g0_firmware:15.11.0.6\\(9039\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"D9B3924A-DD50-4F7B-9FF6-3A89EDD7CF91"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:tendacn:g0:-:*:*:*:*:*:*:*","matchCriteriaId":"D2DC4400-8890-4F5A-AAD3-577626BD4DAE"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g1_firmware:15.11.0.16\\(9024\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"10886B9B-E33E-4748-93BB-3617EF40BF3D"},{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g1_firmware:15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"F1F4A805-B82C-4815-9999-E2D971E082E8"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:tendacn:g1:-:*:*:*:*:*:*:*","matchCriteriaId":"6839E6D3-4F3E-40FB-828E-D25088E85A21"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g3_firmware:15.11.0.16\\(9024\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"91B52B9F-BBF3-4BDD-8CF1-C253959E4182"},{"vulnerable":true,"criteria":"cpe:2.3:o:tendacn:g3_firmware:15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*","matchCriteriaId":"67707336-51C8-428B-B4E2-084302C5806D"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:tendacn:g3:-:*:*:*:*:*:*:*","matchCriteriaId":"0A5CDD3E-C5D2-44DF-B330-065CF8ECC29B"}]}]}],"references":[{"url":"https://hackmd.io/%40aZYpdinUS2SD-yhAeHwOkw/rkhTCGzMd","source":"cve@mitre.org"},{"url":"https://hackmd.io/%40aZYpdinUS2SD-yhAeHwOkw/rkhTCGzMd","source":"af854a3a-2127-422b-91ae-364da2661108"}]}