id: CVE-2024-5230
info:
  name: FleetCart 4.1.1 - Information Disclosure
  author: s4e-io
  severity: medium
  description: |
    Issues with information disclosure in redirect responses. Accessing the majority of the website's pages exposes sensitive data, including the "Razorpay" "razorpayKeyId".
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-5230
    - https://packetstormsecurity.com/files/178770/FleetCart-4.1.1-Information-Disclosure.html
    - https://codecanyon.net/item/fleetcart-laravel-ecommerce-system/23014826
    - https://vuldb.com/?ctiid.265981
    - https://vuldb.com/?id.265981
  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
    cve-id: CVE-2024-5230
    cwe-id: CWE-200
    epss-score: 0.00045
    epss-percentile: 0.15047
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"FleetCart"
  tags: cve,cve2024,packetstorm,cms,fleetcart,info-leak

http:
  - method: GET
    path:
      - "{{BaseURL}}/en/products?query=123"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "razorpayKeyId:", "loggedIn:", "storeName:")'
          - "status_code == 200"
        condition: and

      - type: word
        words:
          - "razorpayKeyId: ''"
        negative: true
# digest: 4a0a0047304502202185dded15f3aac7d791d2ff3b1c6a0efe22e5f16a1ab6f77e65f0d502bb8436022100cd1d81166c859d784ec0f079b41512095b2639393fe644aca9840ae8b17c92cc:922c64590222798bb761d5b6d8e72950