Forgejo Repositories - Exposure
ID: forgejo-repo-exposure
Severity: medium
Author: DhiyaneshDK
Tags: misconfig,exposure,forgejo
Description
Section titled “Description”The Forgejo repo is being exposed publically.
YAML Source
Section titled “YAML Source”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:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/misconfiguration/forgejo-repo-exposure.yaml"