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.81918
    epss-percentile: 0.99221
  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: 490a00463044022023cbe0223ca3f7a669f6042549c3f5c4f87f6d957a0a02fd31ad1957047ca76c0220414eaa0d8289c661bf5193c1be892fe11a11df05790f8fa6fcbc61338e8e7220:922c64590222798bb761d5b6d8e72950