Lucene search
K

MailScanner Multiple Insecure Temporary Files Vulnerabilities

🗓️ 16 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

MailScanner Multiple Insecure Temporary Files Vulnerabilities. Successful exploitation lets attacker execute arbitrary codes, affects MailScanner version prior to 4.74.7-2 on Linux, due to insecure autoupdate and SpamAssassin handler, solution is to upgrade to MailScanner version 4.74.7-2 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-5312
3 Dec 200817:00
cve
CVE
CVE-2008-5313
3 Dec 200817:00
cve
Cvelist
CVE-2008-5312
3 Dec 200817:00
cvelist
Cvelist
CVE-2008-5313
3 Dec 200817:00
cvelist
Debian
Subject: BSA-007 Security Update for mailscanner
22 Oct 201010:41
debian
Debian
Subject: BSA-007 Security Update for mailscanner
22 Oct 201010:26
debian
EUVD
EUVD-2008-5289
7 Oct 202500:30
euvd
EUVD
EUVD-2008-5290
7 Oct 202500:30
euvd
NVD
CVE-2008-5312
3 Dec 200817:30
nvd
NVD
CVE-2008-5313
3 Dec 200817:30
nvd
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mailscanner_mult_vuln.nasl 7823 2017-11-20 08:54:04Z cfischer $
#
# MailScanner Multiple Insecure Temporary Files Vulnerabilities
#
# Authors:
# Sujit Ghosal <[email protected]>
#
# Copyright:
# Copyright (c) 2008 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will let the attacker execute arbitrary codes
  in the context of the application and can compromise a vulnerable system.";
tag_affected = "MailScanner version prior to 4.74.7-2 on Linux.";
tag_insight = "The flaws are due to,
  - Several autoupdate scripts for f-prot-autoupdate, clamav-autoupdate,
    panda-autoupdate, trend-autoupdate, bitdefender-wrapper, kaspersky-wrapper
    etc. use temporary files in an insecure manner.
  - The SpamAssassin and TNEF handlers use temporary files in an insecure manner.
  These can be exploited to affects local users to overwrite arbitrary files via
  symlink attacks.";
tag_solution = "Upgrade to the latest MailScanner version 4.74.7-2 or later
  http://www.mailscanner.info/downloads.html";
tag_summary = "This host is installed with MailScanner and is prone to multiple
  vulnerabilities.";

if(description)
{
  script_id(800206);
  script_version("$Revision: 7823 $");
  script_tag(name:"last_modification", value:"$Date: 2017-11-20 09:54:04 +0100 (Mon, 20 Nov 2017) $");
  script_tag(name:"creation_date", value:"2008-12-16 16:12:00 +0100 (Tue, 16 Dec 2008)");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2008-5312", "CVE-2008-5313");
  script_bugtraq_id(32557);
  script_name("MailScanner Multiple Insecure Temporary Files Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/33117/");
  script_xref(name : "URL" , value : "http://www.mailscanner.info/ChangeLog");
  script_xref(name : "URL" , value : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506353");
  script_xref(name : "URL" , value : "http://www.openwall.com/lists/oss-security/2008/11/29/1");

  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"executable_version");
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("login/SSH/success");
  script_exclude_keys("ssh/no_linux_shell");

  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}

include("ssh_func.inc");
include("version_func.inc");

sock = ssh_login_or_reuse_connection();
if(sock)
{
  send_cmd = ssh_cmd(socket:sock, cmd:"MailScanner -v", timeout:120);
  ssh_close_connection();
  if("MailScanner" >< send_cmd)
  {
    scanner_ver =  eregmatch(pattern:"MailScanner version ([0-9.]+)",
                             string:send_cmd);
    if(scanner_ver[1] != NULL)
    {
      #Grep for version prior to 4.74.7
      if(version_is_less_equal(version:scanner_ver[1], test_version:"4.74.7")){
        security_message(0);
      }
    }
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Nov 2017 00:00Current
0.7Low risk
Vulners AI Score0.7
EPSS0.00024
27