REDHAT-BUG-479655: High severity openssl vulnerability

Published Jan 12, 2009
·
Updated

The library routines package for NASL (the scripting language designed for the Nessus security scanner) incorrectly checked the result after calling the DSAdoverify function, allowing a malformed signature to be treated as a good signature rather than as an error. This issue affected the signature checks on DSA keys used with SSL/TLS.

Relevant part of the code (nasl/naslcrypto2.c): 647 if (DSAdoverify((unsigned char)data, datalen, sig, dsa)) 648 retc->x.ival = 1;

Proposed patch: - if (DSAdoverify((unsigned char)data, datalen, sig, dsa)) + if (DSAdoverify((unsigned char)data, datalen, sig, dsa) == 1)

References: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511517

This issue is related with recent OpenSSL's CVE-2008-5077 flaw.

Affected Software

1 affected component
OpenSSL OpenSSL

Event History

Jan 12, 2009
Data Sourced
via Red Hat·11:34 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What condition causes a malformed DSA signature to be accepted?

The affected NASL library code treats any nonzero return from DSA_do_verify as success. A malformed signature can therefore be accepted when the verification function returns an error value rather than the success value of 1.

2

Which cryptographic operations are affected?

The issue affects NASL signature checks for DSA keys used with SSL/TLS. The provided correction is to accept verification only when DSA_do_verify returns exactly 1.

3

What can be done if an update is not immediately available?

Apply the indicated code change in nasl/nasl_crypto2.c so that the DSA_do_verify result is compared explicitly to 1 rather than evaluated as a generic nonzero value.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203