Skip to content

Commit 6648c9b

Browse files
committed
Lower severity and change CWE
1 parent c7ac59b commit 6648c9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

testssl.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,7 +1917,7 @@ http_head() {
19171917
fi
19181918
}
19191919

1920-
# does a simple http head via printf with no proxy, only used by do_opossum()
1920+
# does a simple http head via printf with no proxy, only used by run_opossum()
19211921
# arg1: URL
19221922
# arg2: extra http header
19231923
#
@@ -17683,10 +17683,11 @@ run_ticketbleed() {
1768317683
run_opossum() {
1768417684
local cve='CVE-2025-49812'
1768517685
local jsonID="opossum"
17686-
local cwe="CWE-74"
17686+
local cwe="CWE-287"
1768717687
local -i ret=0
1768817688
local uri=$URI
1768917689
local service="$SERVICE"
17690+
local response=""
1769017691

1769117692
[[ -n "$STARTTLS" ]] && return 0
1769217693
[[ $VULN_COUNT -le $VULN_THRESHLD ]] && outln && pr_headlineln " Testing for Opossum vulnerability " && outln
@@ -17707,10 +17708,10 @@ run_opossum() {
1770717708
1|3) ret=7 ;; # got stuck
1770817709
esac
1770917710
if [[ $response =~ Upgrade:\ TLS ]]; then
17710-
prln_svrty_critical "VULNERABLE (NOT ok)"
17711+
prln_svrty_high "VULNERABLE (NOT ok)"
1771117712
fileout "$jsonID" "CRITICAL" "VULNERABLE" "$cve" "$cwe" "$hint"
1771217713
else
17713-
prln_svrty_best "not vulnerable (OK)"
17714+
prln_svrty_good "not vulnerable (OK)"
1771417715
fileout "$jsonID" "OK" "not vulnerable $append" "$cve" "$cwe"
1771517716
fi
1771617717
;;

0 commit comments

Comments
 (0)