cve.bz

CVE-2020-1760 Cross-site Scripting

6.1 mediumEPSS 1.5%Fix available

Medium (6.1). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Ceph Object Gateway, where it supports request sent by an anonymous user in Amazon S3. This flaw could lead to potential XSS attacks due to the lack of proper neutralization of untrusted input.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.5% (unchanged from 1.5% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-1760 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1760?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1760?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1760 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:cephbefore 14.2.21
redhat:ceph_storage3.0
redhat:ceph_storage4.0
redhat:openshift_container_platform4.2
fedoraproject:fedora31
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8ceph0.80.7-2+deb8u4DLA-2171-1
Debian9ceph10.2.11-2+deb9u1DLA-2735-1
Debian10ceph12.2.11+dfsg1-2.1+deb10u1DLA-3629-1
Debian12, 13, 14ceph14.2.9-1DEBIAN-CVE-2020-1760
Ubuntu16.04:LTSceph10.2.11-0ubuntu0.16.04.3UBUNTU-CVE-2020-1760 USN-4528-1
Ubuntu18.04:LTSceph12.2.13-0ubuntu0.18.04.4UBUNTU-CVE-2020-1760 USN-4528-1
UbuntuPro:14.04:LTScephno fix listedUBUNTU-CVE-2020-1760
Red Hatceph_storage:4::el7ceph, librbd1, librgw2 and 31 more2:14.2.8-81.el7cpRHSA-2020:3003
Red Hatceph_storage:4::el7ceph-ansible0:4.0.25-1.el7cpRHSA-2020:3003
Red Hatceph_storage:4::el7ceph-medic0:1.0.8-1.el7cpRHSA-2020:3003
Red Hatceph_storage:4::el7cockpit-ceph-installer0:1.2-0.el7cpRHSA-2020:3003
Red Hatceph_storage:4::el7nfs-ganesha, nfs-ganesha-rgw, nfs-ganesha-vfs and 6 more0:2.8.3-8.el7cpRHSA-2020:3003
Red Hatceph_storage:4::el8ceph, librbd1, librgw2 and 53 more2:14.2.8-81.el8cpRHSA-2020:3003
Red Hatceph_storage:4::el8ceph-ansible0:4.0.25-1.el8cpRHSA-2020:3003
Red Hatceph_storage:4::el8ceph-medic0:1.0.8-1.el8cpRHSA-2020:3003
Red Hatceph_storage:4::el8cockpit-ceph-installer0:1.2-0.el8cpRHSA-2020:3003
Red Hatceph_storage:4::el8nfs-ganesha, nfs-ganesha-rgw, nfs-ganesha-vfs and 13 more0:2.8.3-8.el8cpRHSA-2020:3003
SUSEEnterprise Storage 5, Linux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5 and 4 moreceph12.2.12+git.1585658687.363df3a813-2.42.4SUSE-SU-2020:0962-1
SUSEEnterprise Storage 6, Linux Enterprise Module for Basesystem 15 SP1ceph14.2.5.389+gb0f23ac248-3.35.2SUSE-SU-2020:0930-1
openSUSELeap 15.1ceph, ceph-test14.2.5.389+gb0f23ac248-lp151.2.13.1openSUSE-SU-2020:0494-1
Alpinev3.10, v3.11, v3.12 and 4 moreceph14.2.9-r0ALPINE-CVE-2020-1760
Alpinev3.17, v3.18ceph1614.2.9-r0ALPINE-CVE-2020-1760

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenStack Platform 15 (RHOSP) packages Ceph but no longer uses it, instead pulling ceph directly from the Red Hat Ceph Storage 4 repository. For this reason, RHOSP will not be updated for this flaw.

This issue affects the versions of ceph as shipped with Red Hat Ceph Storage 3, 4 and Red Hat Openshift Container Storage 4.2 as it allows unauthenticated requests sent by an anonymous user for Amazon S3.

Red Hat's mitigation

* Mitigation provided by DigitalOcean:

Mitigation relies on the HAProxy load-balancers in front of RGW, and uses HAProxy ACLs combined with in-house Lua embedded in HAProxy.

1. Detect usage of the query-parameters without any signature (either pre-signed or header), and return S3-formatted error.

2. Validate the content in the query-parameters, return S3-formatted error.

HAProxy mitigation:

===

acl req_s3_GetObject REDACTED ## redacted uses internal Lua to detect GetObject

acl has_accesskey REDACTED ## redacted uses internal Lua to detect & validate signature

# detection 1, QPs present

acl req_s3_GetObject_urlp_response url_param(response-cache-control) -m found

acl req_s3_GetObject_urlp_response url_param(response-expires) -m found

acl req_s3_GetObject_urlp_response url_param(response-content-disposition) -m found

acl req_s3_GetObject_urlp_response url_param(response-content-encoding) -m found

acl req_s3_GetObject_urlp_response url_param(response-content-language) -m found

acl req_s3_GetObject_urlp_response url_param(response-content-type) -m found

# detection 2, QPs containing unprintable ascii incl CRLR

acl req_s3_GetObject_urlp_response_crlf url_param(response-cache-control) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

acl req_s3_GetObject_urlp_response_crlf url_param(response-expires) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

acl req_s3_GetObject_urlp_response_crlf url_param(response-content-disposition) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

acl req_s3_GetObject_urlp_response_crlf url_param(response-content-encoding) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

acl req_s3_GetObject_urlp_response_crlf url_param(response-content-language) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

acl req_s3_GetObject_urlp_response_crlf url_param(response-content-type) -m sub -i %00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f

# block for detection 1

http-request use-service lua.REDACTED if req_s3_GetObject req_s3_GetObject_urlp_response !has_accesskey

# block for detection 2

http-request use-service lua.REDACTED if req_s3_GetObject req_s3_GetObject_urlp_response_crlf

===

ProductPackageStateAdvisory
Red Hat Ceph Storage 4.1ceph-2:14.2.8-81.el7cpFixed 2020-07-20RHSA-2020:3003
Red Hat Ceph Storage 4.1ceph-ansible-0:4.0.25-1.el7cpFixed 2020-07-20RHSA-2020:3003
Red Hat Ceph Storage 4.1ceph-medic-0:1.0.8-1.el7cpFixed 2020-07-20RHSA-2020:3003
Red Hat Ceph Storage 4.1cockpit-ceph-installer-0:1.2-0.el7cpFixed 2020-07-20RHSA-2020:3003
Red Hat Ceph Storage 4.1nfs-ganesha-0:2.8.3-8.el7cpFixed 2020-07-20RHSA-2020:3003
Red Hat Ceph Storage 2cephOut of support scope
Red Hat Ceph Storage 3cephAffected
Red Hat Enterprise Linux 8cephNot affected
Red Hat Openshift Container Storage 4cephWill not fix
Red Hat OpenStack Platform 13 (Queens)cephNot affected
Red Hat OpenStack Platform 15 (Stein)cephWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1760.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON