9.1
CRITICAL
CVE-2023-49946
Forgejo Git Server Remote Code Execution and Authentication Bypass Vulnerability
Description

In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked. This allows remote attackers to read private issues, read private pull requests, delete issues, and perform other unauthorized actions.

INFO

Published Date :

Dec. 3, 2023, 7:15 p.m.

Last Modified :

Dec. 7, 2023, 2:52 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-49946 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Forgejo forgejo
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-49946.

URL Resource
https://about.gitea.com/security Not Applicable
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md Release Notes Vendor Advisory
https://forgejo.org/2023-11-release-v1-20-5-1/ Release Notes Vendor Advisory
https://github.com/gogs/gogs/security Not Applicable

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-49946 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-49946 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 07, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    Changed Reference Type https://about.gitea.com/security No Types Assigned https://about.gitea.com/security Not Applicable
    Changed Reference Type https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md No Types Assigned https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md Release Notes, Vendor Advisory
    Changed Reference Type https://forgejo.org/2023-11-release-v1-20-5-1/ No Types Assigned https://forgejo.org/2023-11-release-v1-20-5-1/ Release Notes, Vendor Advisory
    Changed Reference Type https://github.com/gogs/gogs/security No Types Assigned https://github.com/gogs/gogs/security Not Applicable
    Added CWE NIST CWE-732
    Added CPE Configuration OR *cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:* versions up to (excluding) 1.20.5-1
  • CVE Received by [email protected]

    Dec. 03, 2023

    Action Type Old Value New Value
    Added Description In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked. This allows remote attackers to read private issues, read private pull requests, delete issues, and perform other unauthorized actions.
    Added Reference MITRE https://forgejo.org/2023-11-release-v1-20-5-1/ [No types assigned]
    Added Reference MITRE https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md [No types assigned]
    Added Reference MITRE https://about.gitea.com/security [No types assigned]
    Added Reference MITRE https://github.com/gogs/gogs/security [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.03%

score

0.34564

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability