GnuPG内置签名验证漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1195753 漏洞类型 设计错误
发布时间 2006-03-09 更新时间 2007-01-02
CVE编号 CVE-2006-0049 CNNVD-ID CNNVD-200603-226
漏洞平台 N/A CVSS评分 5.0
|漏洞来源
https://www.securityfocus.com/bid/17058
https://cxsecurity.com/issue/WLB-2006030060
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200603-226
|漏洞详情
GnuPG是基于OpenPGP标准的PGP加密、解密、签名工具。GnuPG在处理邮件内置的签名时存在验证漏洞,攻击者可能利用此漏洞在邮件中插入额外的数据。GnuPG在提取已签名的数据时,数据可能前置或后缀了签名没有没有覆盖到的额外数据,这样攻击者就可以利用签名消息注入额外的任意数据。
|漏洞EXP
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200603-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
     Title: GnuPG: Incorrect signature verification
      Date: March 10, 2006
      Bugs: #125217
        ID: 200603-08

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

GnuPG may erroneously report a modified or unsigned message has a valid
digital signature.

Background
==========

The GNU Privacy Guard, GnuPG, is a free replacement for the PGP suite
of cryptographic software that may be used without restriction, as it
does not rely on any patented algorithms. GnuPG can be used to
digitally sign messages, a method of ensuring the authenticity of a
message using public key cryptography.

Affected packages
=================

-------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  app-crypt/gnupg      < 1.4.2.2                         >= 1.4.2.2

Description
===========

OpenPGP is the standard that defines the format of digital signatures
supported by GnuPG. OpenPGP signatures consist of multiple sections, in
a strictly defined order. Tavis Ormandy of the Gentoo Linux Security
Audit Team discovered that certain illegal signature formats could
allow signed data to be modified without detection. GnuPG has
previously attempted to be lenient when processing malformed or legacy
signature formats, but this has now been found to be insecure.

Impact
======

A remote attacker may be able to construct or modify a digitally-signed
message, potentially allowing them to bypass authentication systems, or
impersonate another user.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GnuPG users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-crypt/gnupg-1.4.2.2"

References
==========

[ 1 ] CVE-2006-0049
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0049
  [ 2 ] GnuPG Announcement
        http://lists.gnupg.org/pipermail/gnupg-announce/2006q1/000216.html

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200603-08.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEEfCovcL1obalX08RAsedAJwP8hBZ4wfWjhFZGNjHqLVMRpORRQCeIQOc
pWoHSkWEg/j6hiIA8LLEBbE=
=SwCF
-----END PGP SIGNATURE-----
|受影响的产品
Ubuntu Ubuntu Linux 5.10 powerpc Ubuntu Ubuntu Linux 5.10 i386 Ubuntu Ubuntu Linux 5.10 amd64 Ubuntu Ubuntu Linux 5.0 4 powerpc Ubuntu Ubuntu Linux 5.0 4 i386 Ubuntu Ubuntu
|参考资料

来源:BID
名称:17058
链接:http://www.securityfocus.com/bid/17058
来源:BUGTRAQ
名称:20060309GnuPGdoesnotdetectinjectionofunsigneddata
链接:http://www.securityfocus.com/archive/1/archive/1/427324/100/0/threaded
来源:OSVDB
名称:23790
链接:http://www.osvdb.org/23790
来源:GENTOO
名称:GLSA-200603-08
链接:http://www.gentoo.org/security/en/glsa/glsa-200603-08.xml
来源:VUPEN
名称:ADV-2006-0915
链接:http://www.frsirt.com/english/advisories/2006/0915
来源:DEBIAN
名称:DSA-993
链接:http://www.debian.org/security/2006/dsa-993
来源:SECTRACK
名称:1015749
链接:http://securitytracker.com/id?1015749
来源:SECUNIA
名称:19173
链接:http://secunia.com/advisories/19173
来源:MLIST
名称:[gnupg-announce]20060309[Announce]GnuPGdoesnotdetectinjectionofunsigneddata
链接:http://lists.gnupg.org/pipermail/gnupg-announce/2006q1/000216.html
来源:UBUNTU
名称:USN-264-1
链接:http://www.ubuntulinux.org/support/documentation/usn/usn-264-1
来源:XF
名称:gnupg-nondetached-sig-verification(25184)
链接:http://xforce.iss.net/xforce/xfdb/25184
来源:TRUSTIX
名称:2006-0014
链接:http://www.trustix.org/erra