forgejo-repo-exposure: Forgejo Repositories - Exposure
- Template: forgejo-repo-exposure
- Name: Forgejo Repositories - Exposure
- Description: The Forgejo repo is being exposed publically.
- Severity: medium
- Authors: DhiyaneshDK
- Tags: misconfig, exposure, forgejo, vuln
- Verified: yes
- Max requests: 1
- Directory: http/misconfiguration
- Path: http/misconfiguration/forgejo-repo-exposure.yaml
- Digest: 4b0a00483046022100d28958923f4717092ab02d1212e03c3f2bca51e6956b9285ef535393912e8597022100a52c21dd98d1c5c23336056abdbfdaabf4b421f952267da715ef754fbc5181d4
- Created at: 2024-06-29T10:55:31Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 879
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/forgejo-repo-exposure.yaml
- Checked, none or zero: references, cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 1
- Shodan-query: html:"Forgejo"
- Verified: yes
Labels
- Name: Forgejo - Repository Exposure
- Impact: Unauthenticated attackers can view and clone private repositories, potentially exposing sensitive source code and data.
- Remediation: Update to the latest version of Forgejo and ensure repository visibility settings are correctly configured.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: forgejo-repo-exposure
info:
name: Forgejo Repositories - Exposure
author: DhiyaneshDK
severity: medium
description: |
The Forgejo repo is being exposed publically.
metadata:
verified: true
max-request: 1
shodan-query: html:"Forgejo"
tags: misconfig,exposure,forgejo,vuln
http:
- method: GET
path:
- "{{BaseURL}}/explore/repos"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Powered by Forgejo'
- 'Explore</a>'
- 'Repositories'
condition: and
- type: status
status:
- 200
digest: 4b0a00483046022100d28958923f4717092ab02d1212e03c3f2bca51e6956b9285ef535393912e8597022100a52c21dd98d1c5c23336056abdbfdaabf4b421f952267da715ef754fbc5181d4:922c64590222798bb761d5b6d8e72950
```