htdeployment: Added '.htdeployment' cache file exposure template.
parent
56a3faa04a
commit
457fe56c2f
|
@ -0,0 +1,31 @@
|
|||
id: htdeployment
|
||||
|
||||
info:
|
||||
name: .htdeployment - files tree cache file
|
||||
author: Michal Mikolas (nanuqcz)
|
||||
severity: medium
|
||||
description: FTP Deployment cache file that contains whole files structure with paths to potentially sensitive files.
|
||||
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
|
||||
vendor: dg
|
||||
product: ftp-deployment
|
||||
tags: files,exposure,php,deployment,cache
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/.htdeployment"
|
||||
- "{{BaseURL}}/.deployment"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue