Lucene search
K

Squid < 7.2 Information Disclosure (SQUID-2025:2)

🗓️ 30 Oct 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Squid before 7.2 discloses web credentials via error handling; upgrade to 7.2 or disable error data.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable Inc.
##

include('compat.inc');

if (description)
{
  script_id(272042);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/30");

  script_cve_id("CVE-2025-62168");

  script_name(english:"Squid < 7.2 Information Disclosure (SQUID-2025:2)");

  script_set_attribute(attribute:"synopsis", value:
"The remote proxy server is affected by an information disclosure vulnerability");
  script_set_attribute(attribute:"description", value:
"The version of Squid on the remote host is prior to 7.2. It is, therefore, affected by an information disclosure
vulnerability:

  - Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication
    credentials in error handling allows information disclosure. The vulnerability allows a script to bypass browser
    security protections and learn the credentials a trusted client uses to authenticate. This potentially allows a
    remote client to identify security tokens or credentials used internally by a web application using Squid for
    backend load balancing. These attacks do not require Squid to be configured with HTTP authentication. The
    vulnerability is fixed in version 7.2. As a workaround, disable debug information in administrator mailto links
    generated by Squid by configuring squid.conf with email_err_data off. (CVE-2025-62168)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version 
number.");
  # https://github.com/squid-cache/squid/security/advisories/GHSA-c8cc-phh7-xmxr
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cf8f5537");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Squid version 7.2 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-62168");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/10/16");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/10/16");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/30");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:squid-cache:squid");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Firewalls");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("squid_version.nasl");
  script_require_keys("installed_sw/Squid", "Settings/ParanoidReport");
  script_require_ports("Services/http_proxy", 3128, 8080);

  exit(0);
}

include('http.inc');
include('vcf.inc');

get_install_count(app_name:'Squid', exit_if_zero:TRUE);

if (report_paranoia < 2)
  audit(AUDIT_PARANOID);

var port = get_http_port(default:3128);

var app_info = vcf::get_app_info(app:'Squid', port:port, webapp:TRUE);

var constraints = [
  {'fixed_version':'7.2'}
];

vcf::check_version_and_report(
  app_info:app_info,
  constraints:constraints,
  severity:SECURITY_HOLE
);

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

30 Oct 2025 00:00Current
5.6Medium risk
Vulners AI Score5.6
CVSS 3.17.5 - 10
EPSS0.16244
SSVC
2