SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    GnuPG Patched to Thwart 'Fake Filename'
Date    Wednesday June 13 2018, @10:43AM
Author    Fnord666
Topic   
from the oops,my-bad dept.
https://soylentnews.org/article.pl?sid=18/06/13/0229250

Arthur T Knackerbracket has found the following story:

If you're a developer relying on GnuPG, check upstream for an update that plugs an input sanitisation bug.

The short version, given in CVE-2018-12020, is that mainproc.c mishandles the filename, and as a result, an attacker can spoof the output it sends to other programs.

“For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes”, the Mitre advisory states.

GnuPG maintainer Werner Koch explained in more detail in this advisory.

The ability to include the input file name in a signed/encrypted message is part of the OpenPGP protocol, so he[sic] recipient can see what file is being decrypted. The bug is that the file name included for display doesn't get sanitised.

As a result, an attacker can include commands in a fake filename, because the filename “may include line feeds or other control characters. This can be used inject terminal control sequences into the out and, worse, to fake the so-called status messages”, Koch's note said.

[...] Koch attributed the discovery to Marcus Brinkmann, and Brinkmann had one complaint about how things were handled, as he wrote to the OSS-sec mailing list: "I tried to disclose this responsibly with Werner Koch (and in coordination with other affected projects), but within two hours he did a unilateral full disclosure without getting back to me."


Original Submission

Links

  1. "Arthur T Knackerbracket" - https://soylentnews.org/~Arthur+T+Knackerbracket
  2. "following story" - https://www.theregister.co.uk/2018/06/12/gnupg_patched_to_thwart_exploit/
  3. "CVE-2018-12020" - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12020
  4. "this advisory" - https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
  5. "wrote" - http://seclists.org/oss-sec/2018/q2/170
  6. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=27263

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, GnuPG Patched to Thwart 'Fake Filename' on 2024-04-20 16:07:45