Create forgejo-repo.yaml

patch-4
Dhiyaneshwaran 2024-06-28 14:29:57 +05:30 committed by GitHub
parent 5eb08a82d4
commit 1ee4d626fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: forgejo-repo
info:
name: Forgejo Repositories - Exposure
author: DhiyaneshDK
severity: medium
description: |
Forgejo repo is exposed
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: word
part: header
words:
- "text/html"
- type: status
status:
- 200