CVE-2025-49825: Teleport - Authentication Bypass

2025-08-01 Teleport PoC Public

Description

Teleport versions prior to 17.5.2 are vulnerable to a remote authentication bypass vulnerability. This issue allows attackers to gain unauthorized access to affected systems.

PoC

id: CVE-2025-49825

info:
  name: Teleport - Authentication Bypass
  author: pdteam
  severity: critical
  description: |
    Teleport versions prior to 17.5.2 are vulnerable to a remote authentication bypass vulnerability. This issue allows attackers to gain unauthorized access to affected systems.
  impact: |
    Attackers can bypass authentication mechanisms to gain unauthorized access to Teleport systems, potentially compromising protected infrastructure and sensitive resources.
  remediation: |
    Upgrade Teleport to version 17.5.2, 16.5.12, 15.5.3, 14.4.1, 13.4.27, or 12.4.35 depending on your version branch.
  classification:
    cve-id: CVE-2025-49825
    epss-score: 0.07974
    epss-percentile: 0.9445
    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
  reference:
    - https://github.com/gravitational/teleport/security/advisories/GHSA-8cqv-pj7f-pwpc
  metadata:
    verified: true
    max-request: 1
    shodan-query:
      - http.favicon.hash:544208100
      - http.favicon.hash:1854879765
      - http.favicon.hash:-1275955539
      - "Set-Cookie: __Host-grv_csrf"
    fofa-query:
      - icon_hash="544208100"
      - icon_hash="1854879765"
      - icon_hash="-1275955539"
      - "Set-Cookie: __Host-grv_csrf"
  tags: cve,cve2025,teleport,passive,auth-bypass,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webapi/ping"

    extractors:
      - type: json
        name: version
        json:
          - .server_version
        internal: true

      - type: json
        json:
          - '"Teleport Version: "+ .server_version'

    matchers-condition: and
    matchers:
      - type: dsl
        name: version_check
        dsl:
          - compare_versions(version, '< 17.5.2', '>= 17.0.0')
          - compare_versions(version, '< 16.5.12', '>= 16.0.0')
          - compare_versions(version, '< 15.5.3', '>= 15.0.0')
          - compare_versions(version, '< 14.4.1', '>= 14.0.0')
          - compare_versions(version, '< 13.4.27', '>= 13.0.0')
          - compare_versions(version, '< 12.4.35')
        condition: or

      - type: dsl
        dsl:
          - contains_all(body, "server_version", "teleport")
# digest: 4a0a00473045022100807850fa714b665921deb71e3d378adec18ad7d8dec6ef44d8365fc4f0ebe2fc02207ce5974c2dc4b1620101a4692d619673b3ced9c05f9bb5166c23361a2e54eb10:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities