Skip to content

Forgejo Repositories - Exposure

ID: forgejo-repo-exposure

Severity: medium

Author: DhiyaneshDK

Tags: misconfig,exposure,forgejo

The Forgejo repo is being exposed publically.

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
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: 4a0a0047304502206537efbf458eca967e95128ba1987e0e7812b23cebd7909f931c5c3a7093b4d8022100fbe8ba34cd42aaf4fc96df44930b95cfcb544ac4bb0a4707f0a19bc9ac6f55b6:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/misconfiguration/forgejo-repo-exposure.yaml"

View on Github