id: CVE-2024-33610

info:
  name: Sharp Multifunction Printers - Cookie Exposure
  author: gy741
  severity: medium
  description: It was observed that Sharp printers are vulnerable to a listing of session cookies without authentication. Any attacker can list valid cookies by visiting a backdoor webpage and use them to authenticate to the printers.
  impact: |
    The exposure of cookies can lead to session hijacking, unauthorized access, and potential data breaches.
  remediation: |
    Apply all relevant security patches and product upgrades.
  reference:
    - https://pierrekim.github.io/blog/2024-06-27-sharp-mfp-17-vulnerabilities.html#pre-auth-cookies
    - https://jvn.jp/en/vu/JVNVU93051062/index.html
    - https://global.sharp/products/copier/info/info_security_2024-05.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2024-33610
    cwe-id: CWE-284
    epss-score: 0.45142
    epss-percentile: 0.98622
  metadata:
    verified: true
    max-request: 1
    shodan-query: "Set-Cookie: MFPSESSIONID="
  tags: cve,cve2024,sharp,printer,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/sessionlist.html"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'No.'
          - 'User'
          - 'From'
          - 'Last login'
          - 'Last access'
          - 'Language ID'
          - 'Cookie'
        condition: and

      - type: word
        part: header
        words:
          - "Set-Cookie: MFPSESSIONID="

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