Secunia Logo
 
GnuPG ElGamal Signing Weakness Expose Private Key
Secunia Advisory: SA10304
Release Date: 2003-11-27
Last Update: 2003-12-29
Popularity: 11,187 views

Critical:
Moderately critical
Impact: Spoofing
Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:GnuPG / gpg 1.0.x
GnuPG / gpg 1.2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0971


Description:
A weakness has been identified in the handling of ElGamal keys in GnuPG, which exposes the private key.

The problem is a that certain versions of GnuPG creates ElGamal sign+encrypt keys (type 20) in a cryptographically weak way. This can be exploited to derive the private key.

In an advisory from the developers of GnuPG, it is stated that all ElGamal type 20 keys should be considered compromised.

This affects ElGamal type 20 keys generated with GnuPG 1.0.2 to 1.2.3.

ElGamal encrypt-only keys (type 16) are not affected.

Further details are available in the original advisory.

Solution:
Future versions of GnuPG will not include support for ElGamal type 20 keys.

Patch for GnuPG 1.2.3, which will remove the support for ElGamal type 20 keys:
http://lists.gnupg.org/pipermail/gnupg-users/2003-November/020771.html

Provided and/or discovered by:
Phong Nguyen

Changelog:
2003-12-04: Added CVE reference.
2003-12-29: Added link to CERT.

Original Advisory:
http://lists.gnupg.org/pipermail/gnupg-users/2003-November/020772.html

Other References:
CERT VU#940388:
http://www.kb.cert.org/vuls/id/940388


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 41 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
3. Microsoft XML Core Services Multiple Vulnerabilities // 29 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 28 views
5. Apple iPhone / iPod touch Multiple Vulnerabilities // 28 views
6. ClipShare "chid" SQL Injection Vulnerability // 25 views
7. Adobe Acrobat/Reader Multiple Vulnerabilities // 19 views
8. Avaya CMS Solaris "sadmind" Buffer Overflow Vulnerability // 19 views
9. Zeroboard Multiple Vulnerabilities // 19 views
10. CAPICOM CAPICOM.Certificates ActiveX Control Vulnerability // 18 views