Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/astaxie/beego/session
  4. ›
  5. CVE-2022-31259

CVE-2022-31259: Authentication Bypass Using an Alternate Path or Channel

May 21, 2022 (updated February 17, 2023)

The route lookup process in beego through 1.12.4 and 2.x through 2.0.2 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).

References

  • beego.vip/
  • github.com/beego/beego/issues/4946
  • github.com/beego/beego/tree/v2.0.2
  • nvd.nist.gov/vuln/detail/CVE-2022-31259

Code Behaviors & Features

Detect and mitigate CVE-2022-31259 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.12.4, all versions starting from 2.0.0 up to 2.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

go/github.com/astaxie/beego/session/CVE-2022-31259.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.