2024-04-17 12:24:00 +00:00
id : ht-deployment
2024-03-12 16:13:27 +00:00
info :
2024-04-17 12:24:00 +00:00
name : .htdeployment - Files Tree Cache File
author : Michal-Mikolas
2024-03-12 16:13:27 +00:00
severity : medium
2024-04-17 12:24:00 +00:00
description : |
FTP Deployment cache file that contains whole files structure with paths to potentially sensitive files.
2024-03-12 16:13:27 +00:00
remediation : Block access to the file using `.htaccess` on the server. The best-practise is to block all the folders/files beginning with `.` except `.well-known` folder.
reference :
- https://github.com/dg/ftp-deployment/tree/master
- https://github.com/dg/ftp-deployment/blob/master/src/Deployment/Deployer.php#L206
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
metadata :
verified : true
2024-06-07 10:04:29 +00:00
max-request : 2
2024-03-12 16:13:27 +00:00
vendor : dg
product : ftp-deployment
2024-06-07 10:04:29 +00:00
tags : files,exposure,php,deployment,cache,dg
2024-03-12 16:13:27 +00:00
http :
- method : GET
path :
- "{{BaseURL}}/.htdeployment"
- "{{BaseURL}}/.deployment"
matchers-condition : and
matchers :
2024-03-13 08:44:22 +00:00
- type : word
part : body
words :
2024-03-28 08:22:14 +00:00
- "[config]"
2024-04-17 12:24:00 +00:00
- "1F 8B"
condition : or
2024-03-28 08:22:14 +00:00
- type : word
part : header
words :
- "application/octet-stream"
- "text/plain"
condition : or
2024-06-08 16:02:17 +00:00
# digest: 490a00463044022077aa61db1a1e1bfa3d56bbad53f22e1dcb73f42aa5f004ed245cea3aec68c8080220688daa57a6e6bebf06ce0b0d4a5c2783f99e0b18a66c050585763224ade8ba46:922c64590222798bb761d5b6d8e72950