ID CENTOS_RHSA-2007-0492.NASL Type nessus Reporter This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof. Modified 2007-06-18T00:00:00
Description
Updated spamassassin packages that fix a security issue are now
available for Red Hat Enterprise Linux 4 and 5.
This update has been rated as having moderate security impact by the
Red Hat Security Response Team.
SpamAssassin provides a way to reduce unsolicited commercial email
(spam) from incoming email.
Martin Krafft discovered a symlink issue in SpamAssassin that affects
certain non-default configurations. A local user could use this flaw
to create or overwrite files writable by the spamd process
(CVE-2007-2873).
Users of SpamAssassin should upgrade to these updated packages which
contain a backported patch to correct this issue.
Note: This issue did not affect the version of SpamAssassin shipped
with Red Hat Enterprise Linux 3.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory RHSA-2007:0492 and
# CentOS Errata and Security Advisory 2007:0492 respectively.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(25527);
script_version("1.17");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/04");
script_cve_id("CVE-2007-2873");
script_bugtraq_id(22584);
script_xref(name:"RHSA", value:"2007:0492");
script_name(english:"CentOS 4 / 5 : spamassassin (CESA-2007:0492)");
script_summary(english:"Checks rpm output for the updated package");
script_set_attribute(
attribute:"synopsis",
value:"The remote CentOS host is missing a security update."
);
script_set_attribute(
attribute:"description",
value:
"Updated spamassassin packages that fix a security issue are now
available for Red Hat Enterprise Linux 4 and 5.
This update has been rated as having moderate security impact by the
Red Hat Security Response Team.
SpamAssassin provides a way to reduce unsolicited commercial email
(spam) from incoming email.
Martin Krafft discovered a symlink issue in SpamAssassin that affects
certain non-default configurations. A local user could use this flaw
to create or overwrite files writable by the spamd process
(CVE-2007-2873).
Users of SpamAssassin should upgrade to these updated packages which
contain a backported patch to correct this issue.
Note: This issue did not affect the version of SpamAssassin shipped
with Red Hat Enterprise Linux 3."
);
# https://lists.centos.org/pipermail/centos-announce/2007-June/013929.html
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?be965e0c"
);
# https://lists.centos.org/pipermail/centos-announce/2007-June/013930.html
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?9986c296"
);
# https://lists.centos.org/pipermail/centos-announce/2007-June/013946.html
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?bc8c3742"
);
# https://lists.centos.org/pipermail/centos-announce/2007-June/013963.html
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?ad999cec"
);
# https://lists.centos.org/pipermail/centos-announce/2007-June/013964.html
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?9acddcef"
);
script_set_attribute(
attribute:"solution",
value:"Update the affected spamassassin package."
);
script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:spamassassin");
script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:4");
script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:5");
script_set_attribute(attribute:"vuln_publication_date", value:"2007/06/11");
script_set_attribute(attribute:"patch_publication_date", value:"2007/06/17");
script_set_attribute(attribute:"plugin_publication_date", value:"2007/06/18");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"CentOS Local Security Checks");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/rpm-list");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("rpm.inc");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/CentOS/release");
if (isnull(release) || "CentOS" >!< release) audit(AUDIT_OS_NOT, "CentOS");
os_ver = pregmatch(pattern: "CentOS(?: Linux)? release ([0-9]+)", string:release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "CentOS");
os_ver = os_ver[1];
if (! preg(pattern:"^(4|5)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 4.x / 5.x", "CentOS " + os_ver);
if (!get_kb_item("Host/CentOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && "ia64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "CentOS", cpu);
flag = 0;
if (rpm_check(release:"CentOS-4", reference:"spamassassin-3.1.9-1.el4")) flag++;
if (rpm_check(release:"CentOS-5", reference:"spamassassin-3.1.9-1.el5")) flag++;
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_NOTE,
extra : rpm_report_get()
);
exit(0);
}
else
{
tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, "spamassassin");
}
{"id": "CENTOS_RHSA-2007-0492.NASL", "bulletinFamily": "scanner", "title": "CentOS 4 / 5 : spamassassin (CESA-2007:0492)", "description": "Updated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.", "published": "2007-06-18T00:00:00", "modified": "2007-06-18T00:00:00", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}, "href": "https://www.tenable.com/plugins/nessus/25527", "reporter": "This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.", "references": ["http://www.nessus.org/u?9acddcef", "http://www.nessus.org/u?ad999cec", "http://www.nessus.org/u?be965e0c", "http://www.nessus.org/u?bc8c3742", "http://www.nessus.org/u?9986c296"], "cvelist": ["CVE-2007-2873"], "type": "nessus", "lastseen": "2021-01-06T09:25:09", "edition": 26, "viewCount": 1, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2007-2873"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310830162", "OPENVAS:830162", "OPENVAS:1361412562310122696", "OPENVAS:861172", "OPENVAS:58840", "OPENVAS:861116", "OPENVAS:861034"]}, {"type": "osvdb", "idList": ["OSVDB:37234"]}, {"type": "centos", "idList": ["CESA-2007:0492"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:DOC:17269", "SECURITYVULNS:VULN:7816"]}, {"type": "oraclelinux", "idList": ["ELSA-2007-0492"]}, {"type": "freebsd", "idList": ["8092B820-1D6F-11DC-A0B2-001921AB2FA4"]}, {"type": "redhat", "idList": ["RHSA-2007:0492"]}, {"type": "nessus", "idList": ["REDHAT-RHSA-2007-0492.NASL", "MANDRAKE_MDKSA-2007-125.NASL", "FEDORA_2007-582.NASL", "FEDORA_2007-0390.NASL", "FEDORA_2007-584.NASL", "SL_20070613_SPAMASSASSIN_ON_SL5_X.NASL", "ORACLELINUX_ELSA-2007-0492.NASL", "FREEBSD_PKG_8092B8201D6F11DCA0B2001921AB2FA4.NASL"]}, {"type": "fedora", "idList": ["FEDORA:L5CLA34Q031170", "FEDORA:L5CLIX2S024970", "FEDORA:L5CJWT4B006409"]}], "modified": "2021-01-06T09:25:09", "rev": 2}, "score": {"value": 4.5, "vector": "NONE", "modified": "2021-01-06T09:25:09", "rev": 2}, "vulnersScore": 4.5}, "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Red Hat Security Advisory RHSA-2007:0492 and \n# CentOS Errata and Security Advisory 2007:0492 respectively.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25527);\n script_version(\"1.17\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/04\");\n\n script_cve_id(\"CVE-2007-2873\");\n script_bugtraq_id(22584);\n script_xref(name:\"RHSA\", value:\"2007:0492\");\n\n script_name(english:\"CentOS 4 / 5 : spamassassin (CESA-2007:0492)\");\n script_summary(english:\"Checks rpm output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote CentOS host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Updated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2007-June/013929.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?be965e0c\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2007-June/013930.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?9986c296\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2007-June/013946.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?bc8c3742\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2007-June/013963.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?ad999cec\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2007-June/013964.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?9acddcef\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected spamassassin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:centos:centos:4\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:centos:centos:5\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/06/11\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/17\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/18\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"CentOS Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/CentOS/release\", \"Host/CentOS/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/CentOS/release\");\nif (isnull(release) || \"CentOS\" >!< release) audit(AUDIT_OS_NOT, \"CentOS\");\nos_ver = pregmatch(pattern: \"CentOS(?: Linux)? release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"CentOS\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^(4|5)([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"CentOS 4.x / 5.x\", \"CentOS \" + os_ver);\n\nif (!get_kb_item(\"Host/CentOS/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && \"ia64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"CentOS\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"CentOS-4\", reference:\"spamassassin-3.1.9-1.el4\")) flag++;\n\nif (rpm_check(release:\"CentOS-5\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_NOTE,\n extra : rpm_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin\");\n}\n", "naslFamily": "CentOS Local Security Checks", "pluginID": "25527", "cpe": ["cpe:/o:centos:centos:4", "cpe:/o:centos:centos:5", "p-cpe:/a:centos:centos:spamassassin"], "scheme": null}
{"cve": [{"lastseen": "2020-10-03T11:45:51", "description": "SpamAssassin 3.1.x, 3.2.0, and 3.2.1 before 20070611, when running as root in unusual configurations using vpopmail or virtual users, allows local users to cause a denial of service (corrupt arbitrary files) via a symlink attack on a file that is used by spamd.", "edition": 3, "cvss3": {}, "published": "2007-06-11T23:30:00", "title": "CVE-2007-2873", "type": "cve", "cwe": ["NVD-CWE-Other"], "bulletinFamily": "NVD", "cvss2": {"severity": "LOW", "exploitabilityScore": 3.4, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 1.9, "vectorString": "AV:L/AC:M/Au:N/C:N/I:N/A:P", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2007-2873"], "modified": "2017-10-11T01:32:00", "cpe": ["cpe:/a:spamassassin:spamassassin:3.1.2", "cpe:/a:spamassassin:spamassassin:3.1.6", "cpe:/a:spamassassin:spamassassin:3.1.8", "cpe:/a:spamassassin:spamassassin:3.2.1", "cpe:/a:spamassassin:spamassassin:3.1.9", "cpe:/a:spamassassin:spamassassin:3.1.1", "cpe:/a:spamassassin:spamassassin:3.1.3", "cpe:/a:spamassassin:spamassassin:3.1.4", "cpe:/a:spamassassin:spamassassin:3.1.5", "cpe:/a:spamassassin:spamassassin:3.1.0", "cpe:/a:spamassassin:spamassassin:3.1.7", "cpe:/a:spamassassin:spamassassin:3.2.0"], "id": "CVE-2007-2873", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2873", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}, "cpe23": ["cpe:2.3:a:spamassassin:spamassassin:3.1.8:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.4:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.5:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.6:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.3:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.2.1:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.2:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.7:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:spamassassin:spamassassin:3.1.9:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2017-07-25T10:56:03", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "Check for the Version of spamassassin", "modified": "2017-07-10T00:00:00", "published": "2009-02-27T00:00:00", "id": "OPENVAS:861172", "href": "http://plugins.openvas.org/nasl.php?oid=861172", "type": "openvas", "title": "Fedora Update for spamassassin FEDORA-2007-582", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Fedora Update for spamassassin FEDORA-2007-582\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"SpamAssassin provides you with a way to reduce if not completely eliminate\n Unsolicited Commercial Email (SPAM) from your incoming email. It can\n be invoked by a MDA such as sendmail or postfix, or can be called from\n a procmail script, .forward file, etc. It uses a genetic-algorithm\n evolved scoring system to identify messages which look spammy, then\n adds headers to the message so they can be filtered by the user's mail\n reading software. This distribution includes the spamd/spamc components\n which create a server that considerably speeds processing of mail.\n\n To enable spamassassin, if you are receiving mail locally, simply add\n this line to your ~/.procmailrc:\n INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc\n \n To filter spam for all users, add that line to /etc/procmailrc\n (creating if necessary).\";\n\ntag_affected = \"spamassassin on Fedora Core 6\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"https://www.redhat.com/archives/fedora-package-announce/2007-June/msg00214.html\");\n script_id(861172);\n script_version(\"$Revision: 6622 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-10 07:52:50 +0200 (Mon, 10 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-02-27 16:31:39 +0100 (Fri, 27 Feb 2009)\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_xref(name: \"FEDORA\", value: \"2007-582\");\n script_cve_id(\"CVE-2007-2873\");\n script_name( \"Fedora Update for spamassassin FEDORA-2007-582\");\n\n script_summary(\"Check for the Version of spamassassin\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora_core\", \"ssh/login/rpms\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"FC6\")\n{\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~1.fc6\", rls:\"FC6\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"x86_64/debug/spamassassin-debuginfo\", rpm:\"x86_64/debug/spamassassin-debuginfo~3.1.9~1.fc6\", rls:\"FC6\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"x86_64/spamassassin\", rpm:\"x86_64/spamassassin~3.1.9~1.fc6\", rls:\"FC6\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"i386/spamassassin\", rpm:\"i386/spamassassin~3.1.9~1.fc6\", rls:\"FC6\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"i386/debug/spamassassin-debuginfo\", rpm:\"i386/debug/spamassassin-debuginfo~3.1.9~1.fc6\", rls:\"FC6\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2017-07-25T10:56:47", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "Check for the Version of spamassassin", "modified": "2017-07-10T00:00:00", "published": "2009-02-27T00:00:00", "id": "OPENVAS:861034", "href": "http://plugins.openvas.org/nasl.php?oid=861034", "type": "openvas", "title": "Fedora Update for spamassassin FEDORA-2007-0390", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Fedora Update for spamassassin FEDORA-2007-0390\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"SpamAssassin provides you with a way to reduce if not completely eliminate\n Unsolicited Commercial Email (SPAM) from your incoming email. It can\n be invoked by a MDA such as sendmail or postfix, or can be called from\n a procmail script, .forward file, etc. It uses a genetic-algorithm\n evolved scoring system to identify messages which look spammy, then\n adds headers to the message so they can be filtered by the user's mail\n reading software. This distribution includes the spamd/spamc components\n which create a server that considerably speeds processing of mail.\n\n To enable spamassassin, if you are receiving mail locally, simply add\n this line to your ~/.procmailrc:\n INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc\n \n To filter spam for all users, add that line to /etc/procmailrc\n (creating if necessary).\";\n\ntag_affected = \"spamassassin on Fedora 7\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"https://www.redhat.com/archives/fedora-package-announce/2007-June/msg00211.html\");\n script_id(861034);\n script_version(\"$Revision: 6623 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-10 08:10:20 +0200 (Mon, 10 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-02-27 16:31:39 +0100 (Fri, 27 Feb 2009)\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_xref(name: \"FEDORA\", value: \"2007-0390\");\n script_cve_id(\"CVE-2007-2873\");\n script_name( \"Fedora Update for spamassassin FEDORA-2007-0390\");\n\n script_summary(\"Check for the Version of spamassassin\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora\", \"ssh/login/rpms\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"FC7\")\n{\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.2.1~1.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.2.1~1.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-debuginfo\", rpm:\"spamassassin-debuginfo~3.2.1~1.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.2.1~1.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-debuginfo\", rpm:\"spamassassin-debuginfo~3.2.1~1.fc7\", rls:\"FC7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2018-04-09T11:39:04", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "Check for the Version of spamassassin", "modified": "2018-04-06T00:00:00", "published": "2009-04-09T00:00:00", "id": "OPENVAS:1361412562310830162", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310830162", "type": "openvas", "title": "Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"SpamAssassin 3.1.x, when running as root with unusual configuration\n options using vpopmail or virtual users, could allow local users to\n cause a denial of service (via corrupting arbitrary files) using a\n symlink attack on a file used by spamd.\n\n SpamAssassin 3.1.9, which corrects this flaw, is provided with\n this update.\";\n\ntag_affected = \"spamassassin on Mandriva Linux 2007.0,\n Mandriva Linux 2007.0/X86_64,\n Mandriva Linux 2007.1,\n Mandriva Linux 2007.1/X86_64\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"http://lists.mandriva.com/security-announce/2007-06/msg00020.php\");\n script_oid(\"1.3.6.1.4.1.25623.1.0.830162\");\n script_version(\"$Revision: 9370 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-04-06 10:53:14 +0200 (Fri, 06 Apr 2018) $\");\n script_tag(name:\"creation_date\", value:\"2009-04-09 13:57:01 +0200 (Thu, 09 Apr 2009)\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_xref(name: \"MDKSA\", value: \"2007:125\");\n script_cve_id(\"CVE-2007-2873\");\n script_name( \"Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)\");\n\n script_tag(name:\"summary\", value:\"Check for the Version of spamassassin\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Mandrake Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/mandriva_mandrake_linux\", \"ssh/login/release\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"MNDK_2007.1\")\n{\n\n if ((res = isrpmvuln(pkg:\"perl-Mail-SpamAssassin\", rpm:\"perl-Mail-SpamAssassin~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamc\", rpm:\"spamassassin-spamc~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamd\", rpm:\"spamassassin-spamd~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-tools\", rpm:\"spamassassin-tools~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n\n\nif(release == \"MNDK_2007.0\")\n{\n\n if ((res = isrpmvuln(pkg:\"perl-Mail-SpamAssassin\", rpm:\"perl-Mail-SpamAssassin~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamc\", rpm:\"spamassassin-spamc~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamd\", rpm:\"spamassassin-spamd~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-tools\", rpm:\"spamassassin-tools~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2017-07-24T12:56:13", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "Check for the Version of spamassassin", "modified": "2017-07-06T00:00:00", "published": "2009-04-09T00:00:00", "id": "OPENVAS:830162", "href": "http://plugins.openvas.org/nasl.php?oid=830162", "type": "openvas", "title": "Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"SpamAssassin 3.1.x, when running as root with unusual configuration\n options using vpopmail or virtual users, could allow local users to\n cause a denial of service (via corrupting arbitrary files) using a\n symlink attack on a file used by spamd.\n\n SpamAssassin 3.1.9, which corrects this flaw, is provided with\n this update.\";\n\ntag_affected = \"spamassassin on Mandriva Linux 2007.0,\n Mandriva Linux 2007.0/X86_64,\n Mandriva Linux 2007.1,\n Mandriva Linux 2007.1/X86_64\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"http://lists.mandriva.com/security-announce/2007-06/msg00020.php\");\n script_id(830162);\n script_version(\"$Revision: 6568 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-06 15:04:21 +0200 (Thu, 06 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-04-09 13:57:01 +0200 (Thu, 09 Apr 2009)\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_xref(name: \"MDKSA\", value: \"2007:125\");\n script_cve_id(\"CVE-2007-2873\");\n script_name( \"Mandriva Update for spamassassin MDKSA-2007:125 (spamassassin)\");\n\n script_summary(\"Check for the Version of spamassassin\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Mandrake Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/mandriva_mandrake_linux\", \"ssh/login/release\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"MNDK_2007.1\")\n{\n\n if ((res = isrpmvuln(pkg:\"perl-Mail-SpamAssassin\", rpm:\"perl-Mail-SpamAssassin~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamc\", rpm:\"spamassassin-spamc~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamd\", rpm:\"spamassassin-spamd~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-tools\", rpm:\"spamassassin-tools~3.1.9~0.1mdv2007.1\", rls:\"MNDK_2007.1\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n\n\nif(release == \"MNDK_2007.0\")\n{\n\n if ((res = isrpmvuln(pkg:\"perl-Mail-SpamAssassin\", rpm:\"perl-Mail-SpamAssassin~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamc\", rpm:\"spamassassin-spamc~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-spamd\", rpm:\"spamassassin-spamd~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"spamassassin-tools\", rpm:\"spamassassin-tools~3.1.9~0.1mdv2007.0\", rls:\"MNDK_2007.0\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2017-07-02T21:10:17", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "The remote host is missing an update to the system\nas announced in the referenced advisory.", "modified": "2016-09-27T00:00:00", "published": "2008-09-04T00:00:00", "id": "OPENVAS:58840", "href": "http://plugins.openvas.org/nasl.php?oid=58840", "type": "openvas", "title": "FreeBSD Ports: p5-Mail-SpamAssassin", "sourceData": "#\n#VID 8092b820-1d6f-11dc-a0b2-001921ab2fa4\n# OpenVAS Vulnerability Test\n# $\n# Description: Auto generated from vuxml or freebsd advisories\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"The following package is affected: p5-Mail-SpamAssassin\n\n=====\";\ntag_solution = \"Update your system with the appropriate patches or\nsoftware upgrades.\n\nhttp://spamassassin.apache.org/advisories/cve-2007-2873.txt\nhttp://www.vuxml.org/freebsd/8092b820-1d6f-11dc-a0b2-001921ab2fa4.html\";\ntag_summary = \"The remote host is missing an update to the system\nas announced in the referenced advisory.\";\n\n\nif(description)\n{\n script_id(58840);\n script_version(\"$Revision: 4148 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2016-09-27 07:32:19 +0200 (Tue, 27 Sep 2016) $\");\n script_tag(name:\"creation_date\", value:\"2008-09-04 20:41:11 +0200 (Thu, 04 Sep 2008)\");\n script_cve_id(\"CVE-2007-2873\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_name(\"FreeBSD Ports: p5-Mail-SpamAssassin\");\n\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2007 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"FreeBSD Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/freebsdrel\", \"login/SSH/success\");\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-bsd.inc\");\n\ntxt = \"\";\nvuln = 0;\nbver = portver(pkg:\"p5-Mail-SpamAssassin\");\nif(!isnull(bver) && revcomp(a:bver, b:\"3.2.1\")<0) {\n txt += 'Package p5-Mail-SpamAssassin version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\n\nif(vuln) {\n security_message(data:string(txt));\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2019-05-29T18:36:10", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "description": "Oracle Linux Local Security Checks ELSA-2007-0492", "modified": "2018-09-28T00:00:00", "published": "2015-10-08T00:00:00", "id": "OPENVAS:1361412562310122696", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310122696", "type": "openvas", "title": "Oracle Linux Local Check: ELSA-2007-0492", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: ELSA-2007-0492.nasl 11688 2018-09-28 13:36:28Z cfischer $\n#\n# Oracle Linux Local Check\n#\n# Authors:\n# Eero Volotinen <eero.volotinen@solinor.com>\n#\n# Copyright:\n# Copyright (c) 2015 Eero Volotinen, http://solinor.com\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.122696\");\n script_version(\"$Revision: 11688 $\");\n script_tag(name:\"creation_date\", value:\"2015-10-08 14:51:21 +0300 (Thu, 08 Oct 2015)\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-09-28 15:36:28 +0200 (Fri, 28 Sep 2018) $\");\n script_name(\"Oracle Linux Local Check: ELSA-2007-0492\");\n script_tag(name:\"insight\", value:\"ELSA-2007-0492 - Moderate: spamassassin security update. Please see the references for more insight.\");\n script_tag(name:\"solution\", value:\"Update the affected packages to the latest available version.\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"summary\", value:\"Oracle Linux Local Security Checks ELSA-2007-0492\");\n script_xref(name:\"URL\", value:\"http://linux.oracle.com/errata/ELSA-2007-0492.html\");\n script_cve_id(\"CVE-2007-2873\");\n script_tag(name:\"cvss_base\", value:\"1.9\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/oracle_linux\", \"ssh/login/release\", re:\"ssh/login/release=OracleLinux5\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Eero Volotinen\");\n script_family(\"Oracle Linux Local Security Checks\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = rpm_get_ssh_release();\nif(!release) exit(0);\n\nres = \"\";\n\nif(release == \"OracleLinux5\")\n{\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~1.el5\", rls:\"OracleLinux5\")) != NULL) {\n security_message(data:res);\n exit(0);\n }\n\n}\nif (__pkg_match) exit(99);\n exit(0);\n\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2017-07-25T10:56:01", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873", "CVE-2007-0451", "CVE-2006-2447"], "description": "Check for the Version of spamassassin", "modified": "2017-07-10T00:00:00", "published": "2009-02-27T00:00:00", "id": "OPENVAS:861116", "href": "http://plugins.openvas.org/nasl.php?oid=861116", "type": "openvas", "title": "Fedora Update for spamassassin FEDORA-2007-584", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Fedora Update for spamassassin FEDORA-2007-584\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"SpamAssassin provides you with a way to reduce if not completely eliminate\n Unsolicited Commercial Email (SPAM) from your incoming email. It can\n be invoked by a MDA such as sendmail or postfix, or can be called from\n a procmail script, .forward file, etc. It uses a genetic-algorithm\n evolved scoring system to identify messages which look spammy, then\n adds headers to the message so they can be filtered by the user's mail\n reading software. This distribution includes the spamd/spamc components\n which create a server that considerably speeds processing of mail.\n\n To enable spamassassin, if you are receiving mail locally, simply add\n this line to your ~/.procmailrc:\n INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc\n \n To filter spam for all users, add that line to /etc/procmailrc\n (creating if necessary).\";\n\ntag_affected = \"spamassassin on Fedora Core 5\";\ntag_solution = \"Please Install the Updated Packages.\";\n\n\n\nif(description)\n{\n script_xref(name : \"URL\" , value : \"https://www.redhat.com/archives/fedora-package-announce/2007-June/msg00216.html\");\n script_id(861116);\n script_version(\"$Revision: 6622 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-10 07:52:50 +0200 (Mon, 10 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-02-27 16:31:39 +0100 (Fri, 27 Feb 2009)\");\n script_tag(name:\"cvss_base\", value:\"5.1\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:H/Au:N/C:P/I:P/A:P\");\n script_xref(name: \"FEDORA\", value: \"2007-584\");\n script_cve_id(\"CVE-2007-2873\", \"CVE-2007-0451\", \"CVE-2006-2447\");\n script_name( \"Fedora Update for spamassassin FEDORA-2007-584\");\n\n script_summary(\"Check for the Version of spamassassin\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora_core\", \"ssh/login/rpms\");\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = get_kb_item(\"ssh/login/release\");\n\n\nres = \"\";\nif(release == NULL){\n exit(0);\n}\n\nif(release == \"FC5\")\n{\n\n if ((res = isrpmvuln(pkg:\"spamassassin\", rpm:\"spamassassin~3.1.9~1.fc5.1\", rls:\"FC5\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"x86_64/debug/spamassassin-debuginfo\", rpm:\"x86_64/debug/spamassassin-debuginfo~3.1.9~1.fc5.1\", rls:\"FC5\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"x86_64/spamassassin\", rpm:\"x86_64/spamassassin~3.1.9~1.fc5.1\", rls:\"FC5\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"i386/spamassassin\", rpm:\"i386/spamassassin~3.1.9~1.fc5.1\", rls:\"FC5\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"i386/debug/spamassassin-debuginfo\", rpm:\"i386/debug/spamassassin-debuginfo~3.1.9~1.fc5.1\", rls:\"FC5\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99); # Not vulnerable.\n exit(0);\n}\n", "cvss": {"score": 5.1, "vector": "AV:NETWORK/AC:HIGH/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "osvdb": [{"lastseen": "2017-04-28T13:20:33", "bulletinFamily": "software", "cvelist": ["CVE-2007-2873"], "description": "## Solution Description\nUpgrade to version 3.2.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.\n## References:\nVendor Specific News/Changelog Entry: http://spamassassin.apache.org/advisories/cve-2007-2873.txt\nSecurity Tracker: 1018242\nRedHat RHSA: RHSA-2007:0492\nOther Advisory URL: http://www.redhat.com/support/errata/RHSA-2007-0492.html\nOther Advisory URL: https://issues.rpath.com/browse/RPL-1450\nOther Advisory URL: http://frontal2.mandriva.com/security/advisories?name=MDKSA-2007:125\nISS X-Force ID: 34864\nFrSIRT Advisory: ADV-2007-2172\n[CVE-2007-2873](https://vulners.com/cve/CVE-2007-2873)\nBugtraq ID: 24481\n", "edition": 1, "modified": "2007-06-11T04:40:52", "published": "2007-06-11T04:40:52", "href": "https://vulners.com/osvdb/OSVDB:37234", "id": "OSVDB:37234", "title": "SpamAssassin spamd Symlink Local DoS", "type": "osvdb", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}], "centos": [{"lastseen": "2020-07-17T03:28:48", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": "**CentOS Errata and Security Advisory** CESA-2007:0492\n\n\nSpamAssassin provides a way to reduce unsolicited commercial email (spam)\r\nfrom incoming email.\r\n\r\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\r\ncertain non-default configurations. A local user could use this flaw to\r\ncreate or overwrite files writable by the spamd process (CVE-2007-2873).\r\n\r\nUsers of SpamAssassin should upgrade to these updated packages which\r\ncontain a backported patch to correct this issue.\r\n\r\nNote: This issue did not affect the version of SpamAssassin shipped with\r\nRed Hat Enterprise Linux 3.\n\n**Merged security bulletin from advisories:**\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/025967.html\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/025968.html\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/025984.html\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/025995.html\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/026001.html\nhttp://lists.centos.org/pipermail/centos-announce/2007-June/026002.html\n\n**Affected packages:**\nspamassassin\n\n**Upstream details at:**\nhttps://rhn.redhat.com/errata/RHSA-2007-0492.html", "edition": 5, "modified": "2007-06-17T14:47:25", "published": "2007-06-13T23:34:02", "href": "http://lists.centos.org/pipermail/centos-announce/2007-June/025967.html", "id": "CESA-2007:0492", "title": "spamassassin security update", "type": "centos", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}], "redhat": [{"lastseen": "2019-08-13T18:46:10", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": "SpamAssassin provides a way to reduce unsolicited commercial email (spam)\r\nfrom incoming email.\r\n\r\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\r\ncertain non-default configurations. A local user could use this flaw to\r\ncreate or overwrite files writable by the spamd process (CVE-2007-2873).\r\n\r\nUsers of SpamAssassin should upgrade to these updated packages which\r\ncontain a backported patch to correct this issue.\r\n\r\nNote: This issue did not affect the version of SpamAssassin shipped with\r\nRed Hat Enterprise Linux 3.", "modified": "2017-09-08T12:07:14", "published": "2007-06-13T04:00:00", "id": "RHSA-2007:0492", "href": "https://access.redhat.com/errata/RHSA-2007:0492", "type": "redhat", "title": "(RHSA-2007:0492) Moderate: spamassassin security update", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}], "freebsd": [{"lastseen": "2019-05-29T18:34:35", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": "\nSpamAssassin website reports:\n\nA local user symlink-attack DoS vulnerability in\n\t SpamAssassin has been found, affecting versions 3.1.x,\n\t 3.2.0, and SVN trunk.\n\n", "edition": 4, "modified": "2007-06-11T00:00:00", "published": "2007-06-11T00:00:00", "id": "8092B820-1D6F-11DC-A0B2-001921AB2FA4", "href": "https://vuxml.freebsd.org/freebsd/8092b820-1d6f-11dc-a0b2-001921ab2fa4.html", "title": "p5-Mail-SpamAssassin -- local user symlink-attack DoS vulnerability", "type": "freebsd", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}], "oraclelinux": [{"lastseen": "2019-05-29T18:39:14", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": " [3.1.9-1]\n - 3.1.9 CVE-2007-2873 ", "edition": 4, "modified": "2007-06-13T00:00:00", "published": "2007-06-13T00:00:00", "id": "ELSA-2007-0492", "href": "http://linux.oracle.com/errata/ELSA-2007-0492.html", "title": "Moderate: spamassassin security update ", "type": "oraclelinux", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}], "securityvulns": [{"lastseen": "2018-08-31T11:10:22", "bulletinFamily": "software", "cvelist": ["CVE-2007-2873"], "description": "rPath Security Advisory: 2007-0119-1\r\nPublished: 2007-06-13\r\nProducts: rPath Linux 1\r\nRating: Minor\r\nExposure Level Classification:\r\n Indirect User Deterministic Denial of Service\r\nUpdated Versions:\r\n spamassassin=/conary.rpath.com@rpl:devel//1/3.2.1-0.1-1\r\n\r\nReferences:\r\n http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2873\r\n https://issues.rpath.com/browse/RPL-1450\r\n\r\nDescription:\r\n Previous versions of the spamassassin package are vulnerable to a Denial\r\n of Service attack in which a local attacker may overwrite arbitrary\r\n files when spamd is run using uncommon configuration options. rPath\r\n Linux does not configure spamd using these options and is thus not\r\n vulnerable to this attack.\r\n\r\nCopyright 2007 rPath, Inc.\r\nThis file is distributed under the terms of the MIT License.\r\nA copy is available at http://www.rpath.com/permanent/mit-license.html\r\n\r\n_______________________________________________\r\nFull-Disclosure - We believe in it.\r\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\r\nHosted and sponsored by Secunia - http://secunia.com/", "edition": 1, "modified": "2007-06-14T00:00:00", "published": "2007-06-14T00:00:00", "id": "SECURITYVULNS:DOC:17269", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:17269", "title": "[Full-disclosure] rPSA-2007-0119-1 spamassassin", "type": "securityvulns", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}, {"lastseen": "2018-08-31T11:09:26", "bulletinFamily": "software", "cvelist": ["CVE-2007-2873"], "description": "It's possible to overwrite arbitrary file.", "edition": 1, "modified": "2007-06-14T00:00:00", "published": "2007-06-14T00:00:00", "id": "SECURITYVULNS:VULN:7816", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:7816", "title": "Spamassasin local DoS", "type": "securityvulns", "cvss": {"score": 1.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}], "fedora": [{"lastseen": "2020-12-21T08:17:48", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": "SpamAssassin provides you with a way to reduce if not completely eliminate Unsolicited Commercial Email (SPAM) from your incoming email. It can be invoked by a MDA such as sendmail or postfix, or can be called from a procmail script, .forward file, etc. It uses a genetic-algorithm evolved scoring system to identify messages which look spammy, then adds headers to the message so they can be filtered by the user's mail reading software. This distribution includes the spamd/spamc components which create a server that considerably speeds processing of mail. To enable spamassassin, if you are receiving mail locally, simply add this line to your ~/.procmailrc: INCLUDERC=3D/etc/mail/spamassassin/spamassassin-default.rc To filter spam for all users, add that line to /etc/procmailrc (creating if necessary). ", "modified": "2007-06-12T21:18:59", "published": "2007-06-12T21:18:59", "id": "FEDORA:L5CLIX2S024970", "href": "", "type": "fedora", "title": "[SECURITY] Fedora Core 6 Update: spamassassin-3.1.9-1.fc6", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-12-21T08:17:48", "bulletinFamily": "unix", "cvelist": ["CVE-2007-2873"], "description": "SpamAssassin provides you with a way to reduce if not completely eliminate Unsolicited Commercial Email (SPAM) from your incoming email. It can be invoked by a MDA such as sendmail or postfix, or can be called from a procmail script, .forward file, etc. It uses a genetic-algorithm evolved scoring system to identify messages which look spammy, then adds headers to the message so they can be filtered by the user's mail reading software. This distribution includes the spamd/spamc components which create a server that considerably speeds processing of mail. To enable spamassassin, if you are receiving mail locally, simply add this line to your ~/.procmailrc: INCLUDERC=3D/etc/mail/spamassassin/spamassassin-default.rc To filter spam for all users, add that line to /etc/procmailrc (creating if necessary). ", "modified": "2007-06-12T19:58:31", "published": "2007-06-12T19:58:31", "id": "FEDORA:L5CJWT4B006409", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 7 Update: spamassassin-3.2.1-1.fc7", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-12-21T08:17:48", "bulletinFamily": "unix", "cvelist": ["CVE-2006-2447", "CVE-2007-0451", "CVE-2007-2873"], "description": "SpamAssassin provides you with a way to reduce if not completely eliminate Unsolicited Commercial Email (SPAM) from your incoming email. It can be invoked by a MDA such as sendmail or postfix, or can be called from a procmail script, .forward file, etc. It uses a genetic-algorithm evolved scoring system to identify messages which look spammy, then adds headers to the message so they can be filtered by the user's mail reading software. This distribution includes the spamd/spamc components which create a server that considerably speeds processing of mail. To enable spamassassin, if you are receiving mail locally, simply add this line to your ~/.procmailrc: INCLUDERC=3D/etc/mail/spamassassin/spamassassin-default.rc To filter spam for all users, add that line to /etc/procmailrc (creating if necessary). ", "modified": "2007-06-12T21:36:03", "published": "2007-06-12T21:36:03", "id": "FEDORA:L5CLA34Q031170", "href": "", "type": "fedora", "title": "[SECURITY] Fedora Core 5 Update: spamassassin-3.1.9-1.fc5.1", "cvss": {"score": 5.1, "vector": "AV:N/AC:H/Au:N/C:P/I:P/A:P"}}], "nessus": [{"lastseen": "2021-01-07T11:51:44", "description": "SpamAssassin 3.1.x, when running as root with unusual configuration\noptions using vpopmail or virtual users, could allow local users to\ncause a denial of service (via corrupting arbitrary files) using a\nsymlink attack on a file used by spamd.\n\nSpamAssassin 3.1.9, which corrects this flaw, is provided with this\nupdate.", "edition": 24, "published": "2007-06-18T00:00:00", "title": "Mandrake Linux Security Advisory : spamassassin (MDKSA-2007:125)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2007-06-18T00:00:00", "cpe": ["p-cpe:/a:mandriva:linux:spamassassin-spamd", "cpe:/o:mandriva:linux:2007", "p-cpe:/a:mandriva:linux:spamassassin-spamc", "cpe:/o:mandriva:linux:2007.1", "p-cpe:/a:mandriva:linux:spamassassin", "p-cpe:/a:mandriva:linux:perl-Mail-SpamAssassin", "p-cpe:/a:mandriva:linux:spamassassin-tools"], "id": "MANDRAKE_MDKSA-2007-125.NASL", "href": "https://www.tenable.com/plugins/nessus/25537", "sourceData": "#%NASL_MIN_LEVEL 70300\n\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Mandrake Linux Security Advisory MDKSA-2007:125. \n# The text itself is copyright (C) Mandriva S.A.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25537);\n script_version(\"1.16\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2007-2873\");\n script_xref(name:\"MDKSA\", value:\"2007:125\");\n\n script_name(english:\"Mandrake Linux Security Advisory : spamassassin (MDKSA-2007:125)\");\n script_summary(english:\"Checks rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\n\"The remote Mandrake Linux host is missing one or more security\nupdates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"SpamAssassin 3.1.x, when running as root with unusual configuration\noptions using vpopmail or virtual users, could allow local users to\ncause a denial of service (via corrupting arbitrary files) using a\nsymlink attack on a file used by spamd.\n\nSpamAssassin 3.1.9, which corrects this flaw, is provided with this\nupdate.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://spamassassin.apache.org/advisories/CVE-2007-2873.txt\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:perl-Mail-SpamAssassin\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:spamassassin-spamc\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:spamassassin-spamd\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:mandriva:linux:spamassassin-tools\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:mandriva:linux:2007\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:mandriva:linux:2007.1\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/14\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/18\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 Tenable Network Security, Inc.\");\n script_family(english:\"Mandriva Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/cpu\", \"Host/Mandrake/release\", \"Host/Mandrake/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/Mandrake/release\")) audit(AUDIT_OS_NOT, \"Mandriva / Mandake Linux\");\nif (!get_kb_item(\"Host/Mandrake/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (cpu !~ \"^(amd64|i[3-6]86|x86_64)$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Mandriva / Mandrake Linux\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"MDK2007.0\", reference:\"perl-Mail-SpamAssassin-3.1.9-0.1mdv2007.0\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.0\", reference:\"spamassassin-3.1.9-0.1mdv2007.0\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.0\", reference:\"spamassassin-spamc-3.1.9-0.1mdv2007.0\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.0\", reference:\"spamassassin-spamd-3.1.9-0.1mdv2007.0\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.0\", reference:\"spamassassin-tools-3.1.9-0.1mdv2007.0\", yank:\"mdv\")) flag++;\n\nif (rpm_check(release:\"MDK2007.1\", reference:\"perl-Mail-SpamAssassin-3.1.9-0.1mdv2007.1\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.1\", reference:\"spamassassin-3.1.9-0.1mdv2007.1\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.1\", reference:\"spamassassin-spamc-3.1.9-0.1mdv2007.1\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.1\", reference:\"spamassassin-spamd-3.1.9-0.1mdv2007.1\", yank:\"mdv\")) flag++;\nif (rpm_check(release:\"MDK2007.1\", reference:\"spamassassin-tools-3.1.9-0.1mdv2007.1\", yank:\"mdv\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());\n else security_note(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-07T10:46:33", "description": "SpamAssassin website reports :\n\nA local user symlink-attack DoS vulnerability in SpamAssassin has been\nfound, affecting versions 3.1.x, 3.2.0, and SVN trunk.", "edition": 25, "published": "2007-06-18T00:00:00", "title": "FreeBSD : p5-Mail-SpamAssassin -- local user symlink-attack DoS vulnerability (8092b820-1d6f-11dc-a0b2-001921ab2fa4)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2007-06-18T00:00:00", "cpe": ["p-cpe:/a:freebsd:freebsd:p5-Mail-SpamAssassin", "cpe:/o:freebsd:freebsd"], "id": "FREEBSD_PKG_8092B8201D6F11DCA0B2001921AB2FA4.NASL", "href": "https://www.tenable.com/plugins/nessus/25533", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25533);\n script_version(\"1.13\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2007-2873\");\n\n script_name(english:\"FreeBSD : p5-Mail-SpamAssassin -- local user symlink-attack DoS vulnerability (8092b820-1d6f-11dc-a0b2-001921ab2fa4)\");\n script_summary(english:\"Checks for updated package in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote FreeBSD host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"SpamAssassin website reports :\n\nA local user symlink-attack DoS vulnerability in SpamAssassin has been\nfound, affecting versions 3.1.x, 3.2.0, and SVN trunk.\"\n );\n # http://spamassassin.apache.org/advisories/cve-2007-2873.txt\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://spamassassin.apache.org/404.html\"\n );\n # https://vuxml.freebsd.org/freebsd/8092b820-1d6f-11dc-a0b2-001921ab2fa4.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?af8f49b3\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected package.\");\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:p5-Mail-SpamAssassin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/06/11\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/18\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/18\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"p5-Mail-SpamAssassin<3.2.1\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:pkg_report_get());\n else security_note(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-12T10:06:02", "description": "Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 25, "published": "2007-11-06T00:00:00", "title": "Fedora 7 : spamassassin-3.2.1-1.fc7 (2007-0390)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2007-11-06T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora:7", "p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo", "p-cpe:/a:fedoraproject:fedora:spamassassin"], "id": "FEDORA_2007-0390.NASL", "href": "https://www.tenable.com/plugins/nessus/27663", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2007-0390.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(27663);\n script_version(\"1.14\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_cve_id(\"CVE-2007-2873\");\n script_xref(name:\"FEDORA\", value:\"2007-0390\");\n\n script_name(english:\"Fedora 7 : spamassassin-3.2.1-1.fc7 (2007-0390)\");\n script_summary(english:\"Checks rpm output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n # http://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://spamassassin.apache.org/404.html\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2007-June/001995.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?be1af96a\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"Update the affected spamassassin and / or spamassassin-debuginfo\npackages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:7\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/12\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/11/06\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 7.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC7\", reference:\"spamassassin-3.2.1-1.fc7\")) flag++;\nif (rpm_check(release:\"FC7\", reference:\"spamassassin-debuginfo-3.2.1-1.fc7\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());\n else security_note(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin / spamassassin-debuginfo\");\n}\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-12T10:06:14", "description": "Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 23, "published": "2007-06-14T00:00:00", "title": "Fedora Core 6 : spamassassin-3.1.9-1.fc6 (2007-582)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2007-06-14T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora_core:6", "p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo", "p-cpe:/a:fedoraproject:fedora:spamassassin"], "id": "FEDORA_2007-582.NASL", "href": "https://www.tenable.com/plugins/nessus/25508", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2007-582.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25508);\n script_version(\"1.15\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_xref(name:\"FEDORA\", value:\"2007-582\");\n\n script_name(english:\"Fedora Core 6 : spamassassin-3.1.9-1.fc6 (2007-582)\");\n script_summary(english:\"Checks rpm output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora Core host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n # http://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://spamassassin.apache.org/404.html\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2007-June/001998.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?f53834f3\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"Update the affected spamassassin and / or spamassassin-debuginfo\npackages.\"\n );\n script_set_attribute(attribute:\"risk_factor\", value:\"High\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora_core:6\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/12\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/14\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^6([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 6.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC6\", reference:\"spamassassin-3.1.9-1.fc6\")) flag++;\nif (rpm_check(release:\"FC6\", reference:\"spamassassin-debuginfo-3.1.9-1.fc6\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin / spamassassin-debuginfo\");\n}\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-17T13:43:44", "description": "Martin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).", "edition": 24, "published": "2012-08-01T00:00:00", "title": "Scientific Linux Security Update : spamassassin on SL5.x, SL4.x i386/x86_64 (fwd)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2012-08-01T00:00:00", "cpe": ["x-cpe:/o:fermilab:scientific_linux"], "id": "SL_20070613_SPAMASSASSIN_ON_SL5_X.NASL", "href": "https://www.tenable.com/plugins/nessus/60207", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text is (C) Scientific Linux.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(60207);\n script_version(\"1.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/14\");\n\n script_cve_id(\"CVE-2007-2873\");\n\n script_name(english:\"Scientific Linux Security Update : spamassassin on SL5.x, SL4.x i386/x86_64 (fwd)\");\n script_summary(english:\"Checks rpm output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Scientific Linux host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Martin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\"\n );\n # https://listserv.fnal.gov/scripts/wa.exe?A2=ind0706&L=scientific-linux-errata&T=0&P=1485\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?5c2e1e75\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected spamassassin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"x-cpe:/o:fermilab:scientific_linux\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/13\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2012/08/01\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2012-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Scientific Linux Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/cpu\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Scientific Linux \" >!< release) audit(AUDIT_HOST_NOT, \"running Scientific Linux\");\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (cpu >!< \"x86_64\" && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Scientific Linux\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"SL4\", reference:\"spamassassin-3.1.9-1.el4\")) flag++;\n\nif (rpm_check(release:\"SL5\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());\n else security_note(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-17T13:05:50", "description": "Updated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.", "edition": 27, "published": "2007-06-14T00:00:00", "title": "RHEL 4 / 5 : spamassassin (RHSA-2007:0492)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2007-06-14T00:00:00", "cpe": ["cpe:/o:redhat:enterprise_linux:4", "cpe:/o:redhat:enterprise_linux:5", "p-cpe:/a:redhat:enterprise_linux:spamassassin", "cpe:/o:redhat:enterprise_linux:4.5"], "id": "REDHAT-RHSA-2007-0492.NASL", "href": "https://www.tenable.com/plugins/nessus/25521", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Red Hat Security Advisory RHSA-2007:0492. The text \n# itself is copyright (C) Red Hat, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25521);\n script_version(\"1.25\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/14\");\n\n script_cve_id(\"CVE-2007-2873\");\n script_bugtraq_id(22584);\n script_xref(name:\"RHSA\", value:\"2007:0492\");\n\n script_name(english:\"RHEL 4 / 5 : spamassassin (RHSA-2007:0492)\");\n script_summary(english:\"Checks the rpm output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Red Hat host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Updated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://access.redhat.com/security/cve/cve-2007-2873\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://access.redhat.com/errata/RHSA-2007:0492\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected spamassassin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:redhat:enterprise_linux:4\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:redhat:enterprise_linux:4.5\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:redhat:enterprise_linux:5\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/06/11\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/13\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/14\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Red Hat Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\", \"Host/cpu\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Red Hat\" >!< release) audit(AUDIT_OS_NOT, \"Red Hat\");\nos_ver = pregmatch(pattern: \"Red Hat Enterprise Linux.*release ([0-9]+(\\.[0-9]+)?)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Red Hat\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^(4|5)([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Red Hat 4.x / 5.x\", \"Red Hat \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\" && \"s390\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Red Hat\", cpu);\n\nyum_updateinfo = get_kb_item(\"Host/RedHat/yum-updateinfo\");\nif (!empty_or_null(yum_updateinfo)) \n{\n rhsa = \"RHSA-2007:0492\";\n yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);\n if (!empty_or_null(yum_report))\n {\n security_report_v4(\n port : 0,\n severity : SECURITY_NOTE,\n extra : yum_report \n );\n exit(0);\n }\n else\n {\n audit_message = \"affected by Red Hat security advisory \" + rhsa;\n audit(AUDIT_OS_NOT, audit_message);\n }\n}\nelse\n{\n flag = 0;\n if (rpm_check(release:\"RHEL4\", reference:\"spamassassin-3.1.9-1.el4\")) flag++;\n\n\n if (rpm_check(release:\"RHEL5\", cpu:\"i386\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n if (rpm_check(release:\"RHEL5\", cpu:\"s390x\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n if (rpm_check(release:\"RHEL5\", cpu:\"x86_64\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n\n if (flag)\n {\n security_report_v4(\n port : 0,\n severity : SECURITY_NOTE,\n extra : rpm_report_get() + redhat_report_package_caveat()\n );\n exit(0);\n }\n else\n {\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin\");\n }\n}\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-17T12:44:00", "description": "From Red Hat Security Advisory 2007:0492 :\n\nUpdated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.", "edition": 24, "published": "2013-07-12T00:00:00", "title": "Oracle Linux 4 / 5 : spamassassin (ELSA-2007-0492)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873"], "modified": "2013-07-12T00:00:00", "cpe": ["p-cpe:/a:oracle:linux:spamassassin", "cpe:/o:oracle:linux:5", "cpe:/o:oracle:linux:4"], "id": "ORACLELINUX_ELSA-2007-0492.NASL", "href": "https://www.tenable.com/plugins/nessus/67521", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from Red Hat Security Advisory RHSA-2007:0492 and \n# Oracle Linux Security Advisory ELSA-2007-0492 respectively.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(67521);\n script_version(\"1.10\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/14\");\n\n script_cve_id(\"CVE-2007-2873\");\n script_bugtraq_id(22584);\n script_xref(name:\"RHSA\", value:\"2007:0492\");\n\n script_name(english:\"Oracle Linux 4 / 5 : spamassassin (ELSA-2007-0492)\");\n script_summary(english:\"Checks rpm output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Oracle Linux host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"From Red Hat Security Advisory 2007:0492 :\n\nUpdated spamassassin packages that fix a security issue are now\navailable for Red Hat Enterprise Linux 4 and 5.\n\nThis update has been rated as having moderate security impact by the\nRed Hat Security Response Team.\n\nSpamAssassin provides a way to reduce unsolicited commercial email\n(spam) from incoming email.\n\nMartin Krafft discovered a symlink issue in SpamAssassin that affects\ncertain non-default configurations. A local user could use this flaw\nto create or overwrite files writable by the spamd process\n(CVE-2007-2873).\n\nUsers of SpamAssassin should upgrade to these updated packages which\ncontain a backported patch to correct this issue.\n\nNote: This issue did not affect the version of SpamAssassin shipped\nwith Red Hat Enterprise Linux 3.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://oss.oracle.com/pipermail/el-errata/2007-June/000174.html\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://oss.oracle.com/pipermail/el-errata/2007-June/000221.html\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected spamassassin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:oracle:linux:4\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:oracle:linux:5\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/06/11\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/26\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2013/07/12\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2013-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Oracle Linux Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/OracleLinux\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/OracleLinux\")) audit(AUDIT_OS_NOT, \"Oracle Linux\");\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || !pregmatch(pattern: \"Oracle (?:Linux Server|Enterprise Linux)\", string:release)) audit(AUDIT_OS_NOT, \"Oracle Linux\");\nos_ver = pregmatch(pattern: \"Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\\.[0-9]+)?)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Oracle Linux\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^(4|5)([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Oracle Linux 4 / 5\", \"Oracle Linux \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && \"ia64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Oracle Linux\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"EL4\", cpu:\"i386\", reference:\"spamassassin-3.1.9-1.el4\")) flag++;\nif (rpm_check(release:\"EL4\", cpu:\"x86_64\", reference:\"spamassassin-3.1.9-1.el4\")) flag++;\n\nif (rpm_check(release:\"EL5\", reference:\"spamassassin-3.1.9-1.el5\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get());\n else security_note(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin\");\n}\n", "cvss": {"score": 1.9, "vector": "AV:L/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-12T10:06:14", "description": "Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 25, "published": "2007-06-14T00:00:00", "title": "Fedora Core 5 : spamassassin-3.1.9-1.fc5.1 (2007-584)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-2873", "CVE-2006-2447"], "modified": "2007-06-14T00:00:00", "cpe": ["p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo", "cpe:/o:fedoraproject:fedora_core:5", "p-cpe:/a:fedoraproject:fedora:spamassassin"], "id": "FEDORA_2007-584.NASL", "href": "https://www.tenable.com/plugins/nessus/25509", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2007-584.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(25509);\n script_version(\"1.17\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_cve_id(\"CVE-2006-2447\");\n script_xref(name:\"FEDORA\", value:\"2007-584\");\n\n script_name(english:\"Fedora Core 5 : spamassassin-3.1.9-1.fc5.1 (2007-584)\");\n script_summary(english:\"Checks rpm output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora Core host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Local symlink vulnerability. Fedora is not vulnerable in any default\nor common configurations. Read upstream's announcement for details.\n\nhttp://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n # http://spamassassin.apache.org/advisories/CVE-2007-2873.txt\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://spamassassin.apache.org/404.html\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2007-June/002000.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?069c9bec\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"Update the affected spamassassin and / or spamassassin-debuginfo\npackages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"Exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"true\");\n script_set_attribute(attribute:\"metasploit_name\", value:'SpamAssassin spamd Remote Command Execution');\n script_set_attribute(attribute:\"exploit_framework_metasploit\", value:\"true\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:spamassassin-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora_core:5\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/06/12\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/06/14\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^5([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 5.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC5\", reference:\"spamassassin-3.1.9-1.fc5.1\")) flag++;\nif (rpm_check(release:\"FC5\", reference:\"spamassassin-debuginfo-3.1.9-1.fc5.1\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"spamassassin / spamassassin-debuginfo\");\n}\n", "cvss": {"score": 5.1, "vector": "AV:N/AC:H/Au:N/C:P/I:P/A:P"}}]}