ghsa-qx32-f6g6-fcfr
Vulnerability from github
Published
2022-05-22 00:00
Modified
2023-08-29 17:53
Severity ?
Summary
Access control bypass in beego
Details

The route lookup process in beego prior to 1.12.9 and 2.x prior to 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).

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/beego/beego/v2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/beego/beego"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2022-31259"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-284"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-25T20:35:48Z",
    "nvd_published_at": "2022-05-21T19:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "The route lookup process in beego prior to 1.12.9 and 2.x prior to 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).",
  "id": "GHSA-qx32-f6g6-fcfr",
  "modified": "2023-08-29T17:53:16Z",
  "published": "2022-05-22T00:00:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31259"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/issues/4946"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/pull/4954"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/pull/4958"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-qx32-f6g6-fcfr"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/beego/beego"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beego/beego/tree/v2.0.2"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2022-0463"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Access control bypass in beego"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…