Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Verification of MS countersignatures now takes into account signer info digest and verifies it against digest of content info (timestamp info) #104

Merged
merged 1 commit into from
May 5, 2024

Conversation

metthal
Copy link
Contributor

@metthal metthal commented May 5, 2024

The signature of the signed attributes was verified, the digest of countersigned signature was verified but what was missing is the verification that the signed attributes are actually signing the embedded timestamp information. This would allow anyone to take a valid countersignature, replace content info of the signed data with their own timestamp info, recalculate hash against the countersigned signature and it would be verified as OK.

info digest and verifies it against digest of content info (timestamp
info)

The signature of the signed attributes was verified, the digest of
countersigned signature was verified but what was missing is the
verification that the signed attributes are actually signing the
embedded timestamp information. This would allow anyone to take a valid
countersignature, replace content info of the signed data with their own
timestamp info, recalculate hash against the countersigned signature and
it would be verified as OK.
@plusvic plusvic merged commit e50c163 into VirusTotal:main May 5, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants