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.45842
    epss-percentile: 0.9868
  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: 4a0a00473045022100eb85824ef6904130c5a6720723f384d4a35a65deed1c202ad086b9431bc04d9302206eed806097ada5ccfcdd739388f8d33e270ef961130b64e722abbcfc7ec8f192:922c64590222798bb761d5b6d8e72950