Skip to content

db.xml File - Detect

ID: db-xml-file

Severity: medium

Author: tess

Tags: misconfig,db,files,exposure

db.xml file was detected.

id: db-xml-file
info:
name: db.xml File - Detect
author: tess
severity: medium
description: db.xml file was detected.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
verified: true
max-request: 1
tags: misconfig,db,files,exposure
http:
- method: GET
path:
- "{{BaseURL}}/db.xml"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<ServerName>"
- "<DBPASS>"
- "<DBtype>"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100c6a0ef0fe9d9d1c1080711793042299751f005886f256ccc3f9e165bcbf7861902210099f055d5d56452b78bd49bb61a5794a6940b9aea0487fdb575465fe5ecd640ab: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/db-xml-file.yaml"

View on Github