Merge pull request #14526 from projectdiscovery/vscode-slnx-sqlite-disclosure

Create vscode-slnx-sqlite-disclosure.yaml
This commit is contained in:
Dhiyaneshwaran
2025-12-23 02:00:54 +05:30
committed by GitHub

View File

@@ -0,0 +1,29 @@
id: vscode-slnx-sqlite-disclosure
info:
name: Visual Studio Code - Slnx.SQLite File Disclosure
author: ritikchaddha
severity: high
description: |
Visual Studio Code and Visual Studio may create slnx.sqlite database files that contain solution metadata, project information, and potentially sensitive configuration data. If these files are accessible on a web server, they can expose internal project structure and development environment details.
metadata:
max-request: 2
verified: true
fofa-query: title="Visual Studio Code"
tags: vscode,visual-studio,sqlite,disclosure,exposure,file
http:
- method: GET
path:
- "{{BaseURL}}/slnx.sqlite"
- "{{BaseURL}}/.vs/slnx.sqlite"
redirects: true
stop-at-first-match: false
matchers:
- type: dsl
dsl:
- 'contains_all(body, "SQLite format", "TABLE", "UPDATE")'
- 'status_code == 200'
condition: and