CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-12020

mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers to spoof the output that GnuPG sends on file descriptor 2 to other programs that use the "--status-fd 2" option. For example, the OpenPGP data might represent an original filename that contains line feed characters in conjunction with GOODSIG or VALIDSIG status codes.
Publish Date : 2018-06-08 Last Update Date : 2019-10-03
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.0
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s)
CWE ID 706

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2018:2180: gnupg2 security update (Important) oval:com.redhat.rhsa:def:20182180 unix
RHSA-2018:2181: gnupg2 security update (Important) oval:com.redhat.rhsa:def:20182181 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2018-12020

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 12.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 17.10 * * * Version Details Vulnerabilities
5 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
6 OS Canonical Ubuntu Linux 18.10 * * * Version Details Vulnerabilities
7 OS Canonical Ubuntu Linux 19.04 * * * Version Details Vulnerabilities
8 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
9 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
10 Application Gnupg Gnupg * * * * Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Desktop 6.0 * * * Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Desktop 7.0 * * * Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Server 6.0 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux Server 7.0 * * * Version Details Vulnerabilities
15 OS Redhat Enterprise Linux Server Aus 7.6 * * * Version Details Vulnerabilities
16 OS Redhat Enterprise Linux Server Eus 7.5 * * * Version Details Vulnerabilities
17 OS Redhat Enterprise Linux Server Eus 7.6 * * * Version Details Vulnerabilities
18 OS Redhat Enterprise Linux Server Tus 7.6 * * * Version Details Vulnerabilities
19 OS Redhat Enterprise Linux Workstation 6.0 * * * Version Details Vulnerabilities
20 OS Redhat Enterprise Linux Workstation 7.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 7
Debian Debian Linux 2
Gnupg Gnupg 1
Redhat Enterprise Linux Desktop 2
Redhat Enterprise Linux Server 2
Redhat Enterprise Linux Server Aus 1
Redhat Enterprise Linux Server Eus 2
Redhat Enterprise Linux Server Tus 1
Redhat Enterprise Linux Workstation 2

- References For CVE-2018-12020

https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000425.html
https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf
https://access.redhat.com/errata/RHSA-2018:2180
REDHAT RHSA-2018:2180
http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html
https://github.com/RUB-NDS/Johnny-You-Are-Fired
http://seclists.org/fulldisclosure/2019/Apr/38
FULLDISC 20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 CONFIRM
https://access.redhat.com/errata/RHSA-2018:2181
REDHAT RHSA-2018:2181
https://usn.ubuntu.com/3964-1/
UBUNTU USN-3964-1
https://usn.ubuntu.com/3675-2/
UBUNTU USN-3675-2
http://www.securityfocus.com/bid/104450
BID 104450 GnuPG CVE-2018-12020 Security Bypass Vulnerability Release Date:2018-06-08
https://usn.ubuntu.com/3675-1/
UBUNTU USN-3675-1
http://www.securitytracker.com/id/1041051
SECTRACK 1041051
https://www.debian.org/security/2018/dsa-4223
DEBIAN DSA-4223
https://www.debian.org/security/2018/dsa-4222
DEBIAN DSA-4222
https://dev.gnupg.org/T4012
https://usn.ubuntu.com/3675-3/
UBUNTU USN-3675-3
https://www.debian.org/security/2018/dsa-4224
DEBIAN DSA-4224
http://www.openwall.com/lists/oss-security/2019/04/30/4
MLIST [oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients)
http://openwall.com/lists/oss-security/2018/06/08/2

- Metasploit Modules Related To CVE-2018-12020

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.