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.00053
    epss-percentile: 0.19682
  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

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: 4b0a00483046022100d648ce17e1aa4e428a0b0e1e97efcc77a38d967b78bb04310f2fe738453b8bf8022100c19b01d2806b0f6b8a012dabc56b3481e922186c96e66065dd43882342386a9f:922c64590222798bb761d5b6d8e72950