{ "id": "CVE-2021-27707", "sourceIdentifier": "cve@mitre.org", "published": "2021-04-14T15:15:14.440", "lastModified": "2021-04-20T21:43:18.270", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)_CN allows remote attackers to execute arbitrary code via a crafted action/\"portMappingIndex \"request. This occurs because the \"formDelPortMapping\" function directly passes the parameter \"portMappingIndex\" to strcpy without limit." }, { "lang": "es", "value": "Un desbordamiento de b\u00fafer en los enrutadores Tenda versiones G1 y G3 con firmware v15.11.0.17(9502) _CN, permite a atacantes remotos ejecutar c\u00f3digo arbitrario por medio de una petici\u00f3n dise\u00f1ada action/\"portMappingIndex\". Esto ocurre porque la funci\u00f3n \"formDelPortMapping\" pasa directamente el par\u00e1metro \"portMappingIndex\" a strcpy sin l\u00edmite" } ], "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "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:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-120" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:tenda:g1_firmware:v15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*", "matchCriteriaId": "98669DBF-D56B-4E2D-9A12-813CEC185170" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:h:tenda:g1:-:*:*:*:*:*:*:*", "matchCriteriaId": "FD313047-8A0F-44BD-A75B-F4CF2F4DD8F6" } ] } ] }, { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:tenda:g3_firmware:v15.11.0.17\\(9502\\)_cn:*:*:*:*:*:*:*", "matchCriteriaId": "01254E20-AFFD-4A1A-A956-36BFD85017D4" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:h:tenda:g3:-:*:*:*:*:*:*:*", "matchCriteriaId": "7A1B3B7C-2164-40B6-959A-188796737C16" } ] } ] } ], "references": [ { "url": "https://hackmd.io/U7OVgYIuRcOKV7SW5-euHw", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] } ] }