eslint-ignore-exposure: Eslint Ignore File Exposure

日期: 2025-12-12 | 影响软件: eslint | POC: 已公开

漏洞描述

Eslint Ignore File was exposed.

PoC代码[已公开]

id: eslint-ignore-exposure

info:
  name: Eslint Ignore File Exposure
  author: DhiyaneshDk
  severity: low
  description: |
    Eslint Ignore File was exposed.
  reference:
    - https://eslint.org/docs/latest/use/configure/ignore
  metadata:
    max-request: 1
    shodan-query: html:"eslintignore"
  tags: eslintignore,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/.eslintignore"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'xtscancodes.js'

      - type: word
        part: content_type
        words:
          - "application/octet-stream"

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

相关漏洞推荐