CVE-2018-19131
published 2018-11-09CVE-2018-19131: Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
PriorityP425medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
3.33%
87.1th percentile
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | squid | < squid 4.4-1 (bookworm) | squid 4.4-1 (bookworm) |
| squid-cache | squid | < 4.4 | 4.4 |
| squid | squid | >= 0 < 4.4-1 | 4.4-1 |
| squid | squid | >= 0 < 4.4-1 | 4.4-1 |
| squid | squid | >= 0 < 4.4-1 | 4.4-1 |
| squid | squid | >= 0 < 4.4-1 | 4.4-1 |
CVSS provenance
nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
vendor_redhat·2018-10-31·CVSS 6.1
CVE-2018-19131 [MEDIUM] CWE-79 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
A Cross-Site Scripting vulnerability has been discovered in squid in the way X.509 certificates fields are displayed in some error pages. An attacker who can control the certificate of the origin content server may use this flaw to inject scripting code in the squid generated page, which is executed on the client's browser.
Mitigation: Remove %D error page macro from ERR_SECURE_CONNECT_FAIL pages found under /usr/share/squid/errors/ and any custom error pages.
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Package: squid (Red Hat Enterprise Linux 6) - Will not fix
Package:
Debian
CVE-2018-19131: squid - Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error pa...
vendor_debian·2018·CVSS 6.1
CVE-2018-19131 [MEDIUM] CVE-2018-19131: squid - Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error pa...
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
Scope: local
bookworm: resolved (fixed in 4.4-1)
bullseye: resolved (fixed in 4.4-1)
forky: resolved (fixed in 4.4-1)
sid: resolved (fixed in 4.4-1)
trixie: resolved (fixed in 4.4-1)
GHSA
GHSA-jr78-3r97-gpxf: Squid before 4
ghsa_unreviewed·2022-05-14
CVE-2018-19131 [MEDIUM] CWE-79 GHSA-jr78-3r97-gpxf: Squid before 4
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
OSV
CVE-2018-19131: Squid before 4
osv·2018-11-09·CVSS 6.1
CVE-2018-19131 [MEDIUM] CVE-2018-19131: Squid before 4
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
bugzilla·2018-11-01·CVSS 6.1
CVE-2018-19131 [MEDIUM] CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors
Due to incorrect input handling, Squid is vulnerable to a Cross-Site Scripting vulnerability when generating HTTPS response messages about TLS errors.
Upstream advisory:
http://www.squid-cache.org/Advisories/SQUID-2018_4.txt
Upstream patch:
http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-f1657a9decc820f748fa3aff68168d3145258031.patch
http://www.squid-cache.org/Versions/v4/changesets/squid-4-828245b90206602014ce057c3db39fb80fcc4b08.patch
Discussion:
Created squid tracking bugs for this issue:
Affects: fedora-all [bug 1645147]
---
When Squid produces a ERR_SECURE_CONNECT_FAIL, the origin content server certificate's information are displayed as part of the error page
Bugzilla
CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors [fedora-all]
bugzilla·2018-11-01·CVSS 6.1
CVE-2018-19131 [MEDIUM] CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors [fedora-all]
CVE-2018-19131 squid: Cross-Site Scripting when generating HTTPS response messages about TLS errors [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue
http://www.squid-cache.org/Advisories/SQUID-2018_4.txthttp://www.squid-cache.org/Versions/v5/changesets/squid-5-6feeb15ff312f3e145763adf8d234ed6a0b3f11d.patchhttps://github.com/squid-cache/squid/pull/306http://www.squid-cache.org/Advisories/SQUID-2018_4.txthttp://www.squid-cache.org/Versions/v5/changesets/squid-5-6feeb15ff312f3e145763adf8d234ed6a0b3f11d.patchhttps://github.com/squid-cache/squid/pull/306
2018-11-09
Published