gitea-public-repo-exposure: Gitea Public Repository - Exposure
- Template: gitea-public-repo-exposure
- Name: Gitea Public Repository - Exposure
- Description: Detected publicly accessible Gitea instances exposing repository listings and user information without authentication.
- Severity: low
- Authors: theamanrawat
- Tags: gitea, exposure, misconfig, git, vuln
- References: https://gitea.io/, https://docs.gitea.io/en-us/
- Directory: http/misconfiguration
- Path: http/misconfiguration/gitea-public-repo-exposure.yaml
- Digest: 490a004630440220389ba91c8854022c6a49fd092b913cd833639222fc5642192592cead199c194f022038baf73097cb43ae6b4faa5fd22422355a515eab90aa8be877d10db5d940e8ee
- Created at: 2026-01-20T23:39:58Z
- Updated at: 2026-09-08T09:47:47Z
- Age in days: 309
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/gitea-public-repo-exposure.yaml
- Checked, none or zero: cves, verified, products
- Not known: impact, remediation, max requests
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: title="Gitea"
- Shodan-query: http.title:"Gitea"
Labels
- Name: Gitea - Information Exposure
- Impact: Unauthenticated attackers can access repository listings and user information, potentially leading to further attacks or data leakage.
- Remediation: Update to the latest version of Gitea and ensure proper authentication is configured for repository listings and user information.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: gitea-public-repo-exposure
info:
name: Gitea Public Repository - Exposure
author: theamanrawat
severity: low
description: |
Detected publicly accessible Gitea instances exposing repository listings and user information without authentication.
reference:
- https://docs.gitea.io/en-us/
metadata:
shodan-query: http.title:"Gitea"
fofa-query: title="Gitea"
tags: gitea,exposure,misconfig,git,vuln
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/explore/repos"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(to_lower(body), "explore repositories", "gitea")'
condition: and
internal: true
- method: GET
path:
- "{{BaseURL}}/api/v1/repos/search?q=&limit=50"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "\"data\":", "\"clone_url\":", "\"full_name\":")'
condition: and
digest: 490a004630440220389ba91c8854022c6a49fd092b913cd833639222fc5642192592cead199c194f022038baf73097cb43ae6b4faa5fd22422355a515eab90aa8be877d10db5d940e8ee:922c64590222798bb761d5b6d8e72950
```