id: request-baskets-exposure

info:
  name: Request Baskets - Exposure
  author: DhiyaneshDk
  severity: low
  description: Request Baskets is exposed.
  reference:
    - https://notes.sjtu.edu.cn/s/MUUhEymt7#
    - https://github.com/entr0pie/CVE-2023-27163
  classification:
    cpe: cpe:2.3:a:rbaskets:request_baskets:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: rbaskets
    product: request_baskets
    shodan-query: html:"request-baskets"
  tags: misconfig,requests-baskets,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/web"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Request Baskets</title>'

      - type: word
        part: header
        words:
          - text/html

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