projectdiscovery / nuclei-templates

Community curated list of templates for the nuclei engine to find security vulnerabilities.
https://github.com/projectdiscovery/nuclei
MIT License
9.37k stars 2.66k forks source link

Lottie-Files Backdoor Detection #11117

Closed NagliNagli closed 1 month ago

NagliNagli commented 1 month ago

Is there an existing template for this?

Nuclei Template

id: backdoor-lottie-detection

info:
  name: detect-lottie-backdoor
  author: nagli-wiz
  severity: critical
  description: |
      Detectes vulnerable compormised version of lottie-player JS Library that were compormised with a Web3 wallet pop-up backdoor.
  reference:
    - https://github.com/LottieFiles/lottie-player/issues/254
    - https://x.com/galnagli/status/1851779972639363076

requests:
  - raw:
      - |+
        GET / HTTP/1.1
        Host: {{Hostname}}
        User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
        Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
        Accept-Language: en-US,en;q=0.5
        Accept-Encoding: gzip, deflate
        Connection: keep-alive

    redirects: true
    matchers:
      - type: word
        words:
          - 'lottie-player@2.0.5'
          - 'lottie-player@2.0.6'
          - 'lottie-player@2.0.7'

Relevant dumped responses

No response

Anything else?

No response

DhiyaneshGeek commented 1 month ago

Hi @NagliNagli

Thanks for sharing this template with the community and contributing to the template project 😄

i have raised PR https://github.com/projectdiscovery/nuclei-templates/pull/11118