id: redmine-issues-exposure

info:
  name: Redmine Issues - Exposure
  author: theamanrawat
  severity: medium
  description: |
    Redmine instance exposed issues via the REST API without authentication. This could have leaked sensitive project information, issue details, and user data.
  reference:
    - https://www.redmine.org/projects/redmine/wiki/rest_api
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 2
    shodan-query: http.title:"Redmine"
    fofa-query: app="Redmine"
  tags: misconfig,redmine,exposure,disclosure

http:
  - method: GET
    path:
      - "{{BaseURL}}/issues.json"
      - "{{BaseURL}}/issues.json?limit=25"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"issues":'
          - '"total_count":'
          - '"project":'
        condition: and

      - type: word
        part: header
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4b0a004830460221009aea21333a5baf5dcf464b20be8a2d48e66cff3d41ea511c6d03954e967415e2022100bd55367111d56fbda4afbd09c06f56757dce77e0f4207103f00da15ceb95be11:922c64590222798bb761d5b6d8e72950