Lucene search
K

CUPS < 1.6.2 Multiple Vulnerabilities

🗓️ 10 Apr 2013 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 40 Views

The CUPS version < 1.6.2 on the remote host is vulnerable. It allows unauthorized access to the administration interface and potentially allows admin users to execute malicious commands with root permissions. Also, it is susceptible to multiple denial of service attacks

Related
Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(65970);
  script_version("1.11");
  script_cvs_date("Date: 2018/11/15 20:50:23");

  script_cve_id("CVE-2012-5519");
  script_bugtraq_id(56494);

  script_name(english:"CUPS < 1.6.2 Multiple Vulnerabilities");
  script_summary(english:"Checks CUPS server version");

  script_set_attribute(attribute:"synopsis", value:
"The remote print service is potentially affected by multiple
vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its banner, the version of CUPS installed on the remote
host is earlier than 1.6.2. It is, therefore, potentially affected by
the following vulnerabilities :

  - Permissions on the file '/var/run/cups/certs/0' could
    allow access to CUPS administration interface
    authentication key material and thus, the interface
    itself with admin rights. Additionally, users with admin
    rights can edit the configuration file and specify
    malicious commands that are then carried out with root
    user permissions. (CVE-2012-5519)

  - Multiple errors exist related to the functions
    'ippEnumString', 'ippReadIO', 'set_time',
    'load_request_root' and 'http_resolve_cb' that could
    allow denial of service attacks.");
  script_set_attribute(attribute:"see_also", value:"https://www.cups.org/blog/2013-03-18-cups-1.6.2.html");
  script_set_attribute(attribute:"see_also", value:"https://github.com/apple/cups/issues/4223");
  script_set_attribute(attribute:"see_also", value:"https://github.com/apple/cups/issues/4242");
  script_set_attribute(attribute:"see_also", value:"https://www.openwall.com/lists/oss-security/2012/11/11/2");
  script_set_attribute(attribute:"see_also", value:"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692791");
  script_set_attribute(attribute:"solution", value:"Upgrade to CUPS version 1.6.2 or later, or apply the vendor patch.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
  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:"vuln_publication_date", value:"2012/11/08");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/03/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/04/10");

  script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:cups");
  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl", "cups_1_3_5.nasl");
  script_require_keys("www/cups", "Settings/ParanoidReport");
  script_require_ports("Services/www", 631);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:631, embedded:TRUE);
get_kb_item_or_exit("www/"+port+"/cups/running");

version = get_kb_item_or_exit("cups/"+port+"/version");
source  = get_kb_item_or_exit("cups/"+port+"/source");

if (report_paranoia < 2) audit(AUDIT_PARANOID);

if (version =~ "^(1|1\.6)($|[^0-9rb.])") audit(AUDIT_VER_NOT_GRANULAR, "CUPS", port, version);

if (
  version =~ "^1\.[0-5]($|[^0-9])" ||
  version =~ "^1\.6\.[01]($|[^0-9.])" ||
  version =~ "^1\.6(rc|b)"
)
{
  if (report_verbosity > 0)
  {
    report =
      '\n  Version source    : ' + source +
      '\n  Installed version : ' + version +
      '\n  Fixed version     : 1.6.2\n';

    security_hole(port:port, extra:report);
  }
  else security_hole(port);
  exit(0);
}
else audit(AUDIT_LISTEN_NOT_VULN, "CUPS", port, version);

Data

Build on a solid foundation with Vulners data

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

Api

Power your application with Vulners API

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

App

Assess and manage vulnerabilities with Vulners tools

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

15 Nov 2018 20:50Current
7.6High risk
Vulners AI Score7.6
CVSS 27.2
EPSS0.07193
40