J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1545
    posted: 11/19/09
  • NSM Daily Update #1545
    posted: 11/19/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1545
    posted: 11/19/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/19/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/19/09

Title: GnuPG Detached Signature Verification False-Positive Vulnerability

Severity: LOW

Description:

All versions of Gnu Privacy Guard (GnuPG) have a security flaw relating to the proper checking of detached signatures.

In certain situations, changes made to signed text detached from its signature file, could be modified by an attacker. This is due to a bug in GnuPG's command-line semantics. When verifying the integrity of a signed document which has its signature in a separate file, Ggnupg can be executed from the command line in the following manner:

gpg --verify signature.sig <signed-file.txt

The problem with this format, however, is that Gnupg's command-line options used to verify "normal" signed documents is:

gpg --verify signed-file.txt

If the specified signature file is itself a valid signed document when attempting to verify a document with a detached signature, GnuPG can verify the "signature file" and will not report any errors.

Consequently, any modifications to the signed document (with the detached signature) will not be reported because it is not checked as such. For an attacker to exploit this bug, write access to the document's signature file (and signed document to be modified) is required.

Affected Products:

  • GNU GNU Privacy Guard 1.0.0
  • GNU GNU Privacy Guard 1.0.1
  • GNU GNU Privacy Guard 1.0.2
  • GNU GNU Privacy Guard 1.0.3
  • GNU GNU Privacy Guard 1.0.3b

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.