Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions http/exposures/configs/server-private-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ id: server-private-keys

info:
name: SSL/SSH/TLS/JWT Keys - Detect
author: geeknik,R12W4N,j4vaovo
author: geeknik,R12W4N,j4vaovo,VulnSCOUT
severity: high
description: Private SSL, SSH, TLS, and JWT keys were detected.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-200
metadata:
max-request: 45
max-request: 47
tags: config,exposure

http:
Expand All @@ -35,12 +35,14 @@ http:
- "/id_rsa_2048"
- "/id_rsa_3072"
- "/id_rsa_4096"
- "/id_ed25519"
- "/.ssh/id_rsa"
- "/.ssh/id_dsa"
- "/.ssh/id_rsa_1024"
- "/.ssh/id_rsa_2048"
- "/.ssh/id_rsa_3072"
- "/.ssh/id_rsa_4096"
- "/.ssh/id_ed25519"
- "/{{Hostname}}.key"
- "/{{Hostname}}.pem"
- "/config/jwt/private.pem"
Expand Down Expand Up @@ -86,7 +88,7 @@ http:

- type: dsl
dsl:
- '!contains(body_2, "<html")'
- '!contains(body_2, "<HTML")'
- '!contains(body, "<html")'
- '!contains(body, "<HTML")'
condition: and
# digest: 4b0a004830460221009ca568df0aece57cb81ee17d79df5541de166d5796d0d0af5737cb60dd82a027022100f0661182bac9c94ef6c8d23c25b8db56ad8fad22eb877c4f58c72f4035ce9ee9:922c64590222798bb761d5b6d8e72950