Merge pull request #1685 from dcooper16/bad_ocsp

Check for bad OCSP intermediate certificates
This commit is contained in:
Dirk Wetter 2020-07-16 19:50:48 +02:00 committed by GitHub
commit 00779eb639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 316 deletions

View File

@ -1,293 +0,0 @@
wXYR23sxE2HiDXuCMarfR4vLf/oL5YXAbeIwkiPC74o=
/bNF0mk3ftnTQwi7eIVjKzDmH46vt+tedfgCTV/U4Yc=
16BtRir8gNcRg9lKOYstzIJYNefGbaXkVAVXLwSwWl0=
gptouX8R3uNEhXrBLrQM5QLuUmARIwFv3r8UIAkaQEg=
VEULJ4BS+pGRFgDLmPMQCg+1gVKNj+q5i2/++KSMmY4=
c50MOnG2w3fL0cQIrnzBlzLCy++GINY7Fsn9AYXfmnE=
VQdJ/141xAfVFdmLMnUEvEhP2q4opxOv5OIoKYa+BOg=
Qavo+alRqJkPvc0+FM9HnUJkAbEV8BcBibZl6UDDYyw=
iKuWH2T5No9MTRMH9Z1OWcXlcPhSpsUROo/yjgQxUVc=
zXQZjUwj5HAd6leYkjIbnk9HoIvYN0cQuJmq0UlaSzU=
vEicbcK94lP1hto0E01mQLi1g6MSCJzhCTPEvAP8XzM=
89kW0bcyAfBJ7afll/4KXM1XEaaVj7wLem9/pk96/kc=
h6rZeKX+LulB5AaPmWPqKb2qWIeNJBIkmoLNIvgSbYI=
REzv7dg/YxXF7Iay8c1jsdvyOHz6K+sPtAAVPyr5QI8=
6keT4uuBTUMmH4Borv3ng7g358AhrBnI6bCFUfLWyD8=
DLZoT2AcQW+ZKolAmRSjKgwgmXFodfX3jsDEaxtXCZw=
fTW/BMhXKCtCLoUeqKYit10uzLq2XVumJZjB2koR1QI=
TefMrLUJmUJkSVDyzIYTQBJWXGFNUap9MIf6wZaVihQ=
kO5UjrrKyrQCB6YaN4zhhrlNJK58Vb/IMGXqlgcuKzg=
EaJ2cYciZURctyWOsoRO5hTRR3e59vc76VMhIvIfrQ0=
HL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wGASBQWFF/m8FeU=
50rUSw1W7r45uxhcUqub7+T3WJm2qBQW6RA9XCm/J/s=
53rALbbqoOmmtXOpmHDG3029uDOd2jvEB4b3DivX9/Y=
HpU+FRI6leRwRL+vBrGXT7mXa4T0Nx69d/itge/QXAA=
5Xu/UHn5gpO0FC80iXLmjjUeUrkDc/BfRvCcyzCvW/A=
vUQgxZKm9/JSromBJOAC8bnP4fJTiGTVazSntN+zH8g=
CE7KcKm0Dk4VY+NXdrcW5BCpcrsn7VHCSMSNMkL6ja8=
bsjTVRvQRUsMxLnbh2Nmrgh2TF/PFbAPlBG94w1TNq4=
qONS2wyOJ7rlg9AVFG6Led7gkdVjj1g6DEQvO/Vd7rM=
LRskT6zq+tlHVbXpmqv3rJHFmdpzv6Rh7uuvtLlptck=
6tyA999jBWDMGzU/aOpmAVnOlm4i1ARYh4B4fAR20OQ=
IuXm21yuQo7alq7QVk4rl3DsoswCUVjjep3e7eMfReU=

View File

@ -8303,18 +8303,18 @@ certificate_info() {
local -i certificate_number=$1
local -i number_of_certificates=$2
local cert_txt="$3"
local cipher=$4
local cert_keysize=$5
local cert_type="$6"
local ocsp_response_binary="$7"
local ocsp_response=$8
local ocsp_response_status=$9
local sni_used="${10}"
local ct="${11}"
local certificate_list_ordering_problem="${12}"
local intermediates="$4"
local cipher=$5
local cert_keysize=$6
local cert_type="$7"
local ocsp_response_binary="$8"
local ocsp_response=$9
local ocsp_response_status=${10}
local sni_used="${11}"
local ct="${12}"
local certificate_list_ordering_problem="${13}"
local cert_sig_algo cert_sig_hash_algo cert_key_algo cert_spki_info
local common_primes_file="$TESTSSL_INSTALL_DIR/etc/common-primes.txt"
local badocspcerts="${TESTSSL_INSTALL_DIR}/etc/bad_ocsp_certs.txt"
local -i lineno_matched=0
local cert_keyusage cert_ext_keyusage short_keyAlgo
local outok=true
@ -8322,12 +8322,13 @@ certificate_info() {
local startdate enddate issuer_CN issuer_C issuer_O issuer sans san all_san="" cn
local issuer_DC issuerfinding cn_nosni=""
local cert_fingerprint_sha1 cert_fingerprint_sha2 cert_serial cert
local -a intermediate_certs=()
local policy_oid
local spaces=""
local -i trust_sni=0 trust_nosni=0 diffseconds=0
local has_dns_sans has_dns_sans_nosni
local trust_sni_finding
local -i certificates_provided
local -i i certificates_provided=0
local cnfinding trustfinding trustfinding_nosni
local cnok="OK"
local expfinding expok="OK"
@ -8980,16 +8981,21 @@ certificate_info() {
#FIXME: We just raise the flag saying the chain is bad w/o naming the intermediate
# cert to blame.
awk -v n=-1 "{start=1}
/-----BEGIN CERTIFICATE-----/{ if (start) {inc=1; n++} }
inc { print > (\"$TEMPDIR/intermediatecert\" n \".crt\") }
/---END CERTIFICATE-----/{ inc=0 }" "$TEMPDIR/intermediatecerts.pem"
for cert in $TEMPDIR/intermediatecert?.crt; do
hash=$($OPENSSL x509 -in "$cert" -outform der 2>/dev/null | $OPENSSL dgst -sha256 -binary | $OPENSSL base64)
grep -q "$hash" "$badocspcerts"
badocsp=$?
[[ $badocsp -eq 0 ]] && break
# Store all of the intermediate certificates in an array so that they can
# be used later (e.g., to check their expiration dates).
while true; do
[[ "$intermediates" =~ \-\-\-\-\-\BEGIN\ CERTIFICATE\-\-\-\-\- ]] || break
intermediates="${intermediates#*-----BEGIN CERTIFICATE-----}"
cert="${intermediates%%-----END CERTIFICATE-----*}"
intermediates="${intermediates#${cert}-----END CERTIFICATE-----}"
cert="-----BEGIN CERTIFICATE-----${cert}-----END CERTIFICATE-----"
intermediate_certs[certificates_provided]="$($OPENSSL x509 -text -noout 2>/dev/null <<< "$cert")"
certificates_provided+=1
done
certificates_provided+=1
for (( i=0; i < certificates_provided-1; i++ )); do
cert_ext_keyusage="$(awk '/X509v3 Extended Key Usage:/ { getline; print $0 }' <<< "${intermediate_certs[i]}")"
[[ "$cert_ext_keyusage" =~ OCSP\ Signing ]] && badocsp=0 && break
done
if [[ $badocsp -eq 0 ]]; then
prln_svrty_medium "NOT ok"
@ -9122,7 +9128,6 @@ certificate_info() {
fileout "cert_validityPeriod${json_postfix}" "INFO" "No finding"
fi
certificates_provided=1+$(grep -c "\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-" $TEMPDIR/intermediatecerts.pem)
out "$indent"; pr_bold " # of certificates provided"; out " $certificates_provided"
fileout "certs_countServer${json_postfix}" "INFO" "${certificates_provided}"
if "$certificate_list_ordering_problem"; then
@ -9715,7 +9720,7 @@ run_server_defaults() {
echo "${previous_hostcert[i]}" > $HOSTCERT
echo "${previous_intermediates[i]}" > $TEMPDIR/intermediatecerts.pem
echo "${previous_hostcert_issuer[i]}" > $TEMPDIR/hostcert_issuer.pem
certificate_info "$i" "$certs_found" "${previous_hostcert_txt[i]}" \
certificate_info "$i" "$certs_found" "${previous_hostcert_txt[i]}" "${previous_intermediates[i]}" \
"${tested_cipher[i]}" "${keysize[i]}" "${previous_hostcert_type[i]}" \
"${ocsp_response_binary[i]}" "${ocsp_response[i]}" \
"${ocsp_response_status[i]}" "${sni_used[i]}" "${ct[i]}" \