{"id":"CVE-2022-31259","sourceIdentifier":"cve@mitre.org","published":"2022-05-21T19:15:52.990","lastModified":"2026-06-17T04:45:14.687","vulnStatus":"Modified","cveTags":[],"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úsqueda 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ñadir .xml en varios lugares (por ejemplo, p1.xml en lugar de p1)"}],"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:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"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"]},{"url":"https://beego.vip","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://github.com/advisories/GHSA-qx32-f6g6-fcfr","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/beego/beego/issues/4946","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/beego/beego/tree/v2.0.2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]}]}