ghsa-3h6c-c475-jm7v
Vulnerability from github
Published
2024-04-22 19:07
Modified
2024-04-22 19:07
Summary
Arbitrary Code Execution in Gitea
Details

The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "code.gitea.io/gitea"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.1.0"
            },
            {
              "fixed": "1.12.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2020-14144"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-22T19:07:03Z",
    "nvd_published_at": "2020-10-16T14:15:11Z",
    "severity": "HIGH"
  },
  "details": "The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.",
  "id": "GHSA-3h6c-c475-jm7v",
  "modified": "2024-04-22T19:07:03Z",
  "published": "2024-04-22T19:07:03Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-14144"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/pull/13058"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/commit/8fe8ab5cbf2977f3a01ea12361df2cd76dce3ea9"
    },
    {
      "type": "WEB",
      "url": "https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script"
    },
    {
      "type": "WEB",
      "url": "https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script"
    },
    {
      "type": "WEB",
      "url": "https://docs.gitlab.com/ee/administration/server_hooks.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PandatiX/CVE-2021-28378"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PandatiX/CVE-2021-28378#notes"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/go-gitea/gitea"
    },
    {
      "type": "WEB",
      "url": "https://github.com/go-gitea/gitea/releases"
    },
    {
      "type": "WEB",
      "url": "https://podalirius.net/articles/exploiting-cve-2020-14144-gitea-authenticated-remote-code-execution"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/49571"
    },
    {
      "type": "WEB",
      "url": "https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Arbitrary Code Execution in Gitea"
}


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.