ID CVE-2005-3088
Summary fetchmailconf before 1.49 in fetchmail 6.2.0, 6.2.5 and creates configuration files with insecure world-readable permissions, which allows local users to obtain sensitive information such as passwords.
Vulnerable Configurations
  • Fetchmail 6.2.0
  • Fetchmail 6.2.5
  • Fetchmail
Base: 2.1 (as of 27-10-2005 - 08:39)
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
nessus via4
  • NASL family Mandriva Local Security Checks
    description Thomas Wolff and Miloslav Trmac discovered a race condition in the fetchmailconf program. fetchmailconf would create the initial output configuration file with insecure permissions and only after writing would it change permissions to be more restrictive. During that time, passwords and other data could be exposed to other users on the system unless the user used a more restrictive umask setting. As well, the Mandriva Linux 2006 packages did not contain the patch that corrected the issues fixed in MDKSA-2005:126, namely a buffer overflow in fetchmail's POP3 client (CVE-2005-2355). The updated packages have been patched to address this issue, and the Mandriva 2006 packages have also been patched to correct CVE-2005-2355.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 20442
    published 2006-01-15
    reporter Tenable
    title Mandrake Linux Security Advisory : fetchmail (MDKSA-2005:209)
  • NASL family Ubuntu Local Security Checks
    description Thomas Wolff and Miloslav Trmac discovered a race condition in the fetchmailconf program. The output configuration file was initially created with insecure permissions, and secure permissions were applied after writing the configuration into the file. During this time, the file was world readable on a standard system (unless the user manually tightened his umask setting), which could expose email passwords to local users. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-08-15
    plugin id 20633
    published 2006-01-15
    reporter Tenable
    title Ubuntu 4.10 / 5.04 / 5.10 : fetchmail vulnerability (USN-215-1)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2005-823.NASL
    description Updated fetchmail packages that fix insecure configuration file creation is now available. This update has been rated as having low security impact by the Red Hat Security Response Team. Fetchmail is a remote mail retrieval and forwarding utility. A bug was found in the way the fetchmailconf utility program writes configuration files. The default behavior of fetchmailconf is to write a configuration file which may be world readable for a short period of time. This configuration file could provide passwords to a local malicious attacker within the short window before fetchmailconf sets secure permissions. The Common Vulnerabilities and Exposures project has assigned the name CVE-2005-3088 to this issue. Users of fetchmail are advised to upgrade to these updated packages, which contain a backported patch which resolves this issue.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 20106
    published 2005-10-28
    reporter Tenable
    title RHEL 2.1 : fetchmail (RHSA-2005:823)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_BAF74E0B497A11DAA4F40060084A00E5.NASL
    description The fetchmail team reports : The fetchmailconf program before and excluding version 1.49 opened the run control file, wrote the configuration to it, and only then changed the mode to 0600 (rw-------). Writing the file, which usually contains passwords, before making it unreadable to other users, can expose sensitive password information.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 21503
    published 2006-05-13
    reporter Tenable
    title FreeBSD : fetchmail -- fetchmailconf local password exposure (baf74e0b-497a-11da-a4f4-0060084a00e5)
  • NASL family Debian Local Security Checks
    description Due to restrictive dependency definition for fetchmail-ssl the updated fetchmailconf package couldn't be installed on the old stable distribution (woody) together with fetchmail-ssl. Hence, this update loosens it, so that the update can be pulled in. For completeness we're including the original advisory text : Thomas Wolff discovered that the fetchmailconf program which is provided as part of fetchmail, an SSL enabled POP3, APOP, IMAP mail gatherer/forwarder, creates the new configuration in an insecure fashion that can lead to leaking passwords for mail accounts to local users. This update also fixes a regression in the package for stable caused by the last security update.
    last seen 2019-02-21
    modified 2018-07-20
    plugin id 22766
    published 2006-10-14
    reporter Tenable
    title Debian DSA-900-3 : fetchmail - programming error
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2006-045-01.NASL
    description New fetchmail packages are available for Slackware 8.1, 9.0, 9.1, 10.0, 10.1, 10.2, and -current to fix security issues.
    last seen 2019-02-21
    modified 2018-06-27
    plugin id 20912
    published 2006-02-15
    reporter Tenable
    title Slackware 10.0 / 10.1 / 10.2 / 8.1 / 9.0 / 9.1 / current : fetchmail (SSA:2006-045-01)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200511-06.NASL
    description The remote host is affected by the vulnerability described in GLSA-200511-06 (fetchmail: Password exposure in fetchmailconf) Thomas Wolff discovered that fetchmailconf opens the configuration file with default permissions, writes the configuration to it, and only then restricts read permissions to the owner. Impact : A local attacker could exploit the race condition to retrieve sensitive information like IMAP/POP passwords. Workaround : Run 'umask 077' to temporarily strengthen default permissions, then run 'fetchmailconf' from the same shell.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 20156
    published 2005-11-07
    reporter Tenable
    title GLSA-200511-06 : fetchmail: Password exposure in fetchmailconf
  • NASL family MacOS X Local Security Checks
    description The remote host is running Apple Mac OS X, but lacks Security Update 2006-004. This security update contains fixes for the following applications : AFP Server Bluetooth Bom DHCP dyld fetchmail gnuzip ImageIO LaunchServices OpenSSH telnet WebKit
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 22125
    published 2006-08-01
    reporter Tenable
    title Mac OS X Multiple Vulnerabilities (Security Update 2006-004)
redhat via4
id RHSA-2005:823
refmap via4
apple APPLE-SA-2006-08-01
  • 15179
  • 19289
bugtraq 20051027 fetchmail security announcement 2005-02 (CVE-2005-3088)
cert TA06-214A
debian DSA-900
gentoo GLSA-200511-06
mandriva MDKSA-2005:209
osvdb 20267
sectrack 1015114
  • 17293
  • 17349
  • 17446
  • 17491
  • 17495
  • 17631
  • 18895
  • 21253
slackware SSA:2006-045-01
ubuntu USN-215-1
vulnwatch 20051027 fetchmail security announcement 2005-02 (CVE-2005-3088)
  • ADV-2005-2182
  • ADV-2006-3101
Last major update 17-10-2016 - 23:32
Published 27-10-2005 - 06:02
Last modified 03-10-2018 - 17:31
Back to Top