Skip to content

Cargo Lock Packages Disclosure

ID: cargo-lock-package

Severity: info

Author: DhiyaneshDk

Tags: exposure,files,cargo

id: cargo-lock-package
info:
name: Cargo Lock Packages Disclosure
author: DhiyaneshDk
severity: info
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
metadata:
verified: true
max-request: 1
shodan-query: html:"Cargo.lock"
tags: exposure,files,cargo
http:
- method: GET
path:
- '{{BaseURL}}/Cargo.lock'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[[package]]"
- "dependencies = ["
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100d415a98791f018798d50888bb6213302415cf33695ef4c46093ae59223a3321702202b3860dda8ef5393a2f2bae58ba01b2fb886823b77fa85fb24df902381dacf33:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/cargo-lock-package.yaml"

View on Github