{ "id": "CVE-2022-31259", "sourceIdentifier": "cve@mitre.org", "published": "2022-05-21T19:15:52.990", "lastModified": "2023-02-17T17:15:11.023", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1)." }, { "lang": "es", "value": "El proceso de b\u00fasqueda de rutas en beego versiones hasta 1.12.4 y versiones2.x hasta 2.0.2, permite a atacantes omitir el control de acceso. Cuando es configurada una ruta /p1/p2/:name, los atacantes pueden acceder a ella al a\u00f1adir .xml en varios lugares (por ejemplo, p1.xml en lugar de p1)" } ], "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:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "NVD-CWE-noinfo" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.12.4", "matchCriteriaId": "2F171202-4C00-439C-8669-9B761BD207AD" }, { "vulnerable": true, "criteria": "cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.0.0", "versionEndIncluding": "2.0.2", "matchCriteriaId": "F6428BA0-2A42-4DF3-8040-258676340F57" } ] } ] } ], "references": [ { "url": "https://beego.vip", "source": "cve@mitre.org", "tags": [ "Product" ] }, { "url": "https://github.com/advisories/GHSA-qx32-f6g6-fcfr", "source": "cve@mitre.org" }, { "url": "https://github.com/beego/beego/issues/4946", "source": "cve@mitre.org", "tags": [ "Exploit", "Issue Tracking", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/beego/beego/tree/v2.0.2", "source": "cve@mitre.org", "tags": [ "Release Notes", "Third Party Advisory" ] } ] }