Cloudanix VulnDB

CVE-2020-8284

Low · 3.7

CVSS

3.7

EPSS

3.9%

Published

Dec 14, 2020

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A programming mistake could let an attacker use a fake file-transfer server to quietly learn about other services that should stay hidden.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A malicious FTP server can supply a PASV response that causes the embedded curl client to initiate an outbound connection to an attacker-specified IP address and port, enabling information disclosure about otherwise unreachable internal services via port scanning or banner extraction.

Why it matters to the business

Attackers gain a foothold for reconnaissance against private infrastructure, increasing the chance of follow-on attacks that could disrupt operations or lead to data exposure; the issue affects a widely used component with many downstream dependents and has a CISA remediation deadline in effect.

How an attack unfolds

An attacker hosts a malicious FTP server that, when curl connects, returns a crafted PASV reply directing the client to connect back to an internal target; the resulting connection allows the attacker to observe service responses or enumerate listening ports without direct network access.

How to fix it

Upgrade gitlab-org/gitlab to the fixed commit e8824bdbcb70ab6210d3de565d52662d95c96978 or later; verify the embedded curl version meets or exceeds the patched release and rebuild any dependent packages.

How to confirm the fix worked

Confirm the running binary reports a version containing commit e8824bdbcb70ab6210d3de565d52662d95c96978, then attempt to trigger the PASV behavior against a controlled test server and verify no unauthorized outbound connections occur.

Typical attack path

  1. Deploy a malicious FTP server under attacker control
  2. Induce the vulnerable client to initiate an FTP session to that server
  3. Return a PASV response containing an internal IP and port
  4. Observe the resulting outbound connection and any returned service data

How to detect it

Review application logs for FTP control connections followed by unexpected outbound TCP sessions to internal addresses; correlate with process execution of the gitlab service and look for banner-grabbing patterns in network flow data.

What your security team should do

  • Apply the fixed commit immediately given the public disclosure and active exploitation window
  • Scan for any remaining instances still running pre-fix versions
  • Add network egress controls that restrict unexpected outbound connections from application containers

The record

A malicious server can use the FTP PASV response to trick curl 7.73.0 and earlier into connecting back to a given IP address and port, and this way potentially make curl extract information about services that are otherwise private and not disclosed, for example doing port scanning and service banner extractions.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.11 curl 0 7.79.0-r0
Alpine:v3.12 curl 0 7.74.0-r0
Alpine:v3.13 curl 0 7.74.0-r0
Alpine:v3.14 curl 0 7.74.0-r0
Alpine:v3.15 curl 0 7.74.0-r0
Alpine:v3.16 curl 0 7.74.0-r0
Alpine:v3.17 curl 0 7.74.0-r0
Alpine:v3.18 curl 0 7.74.0-r0
Alpine:v3.19 curl 0 7.74.0-r0
Alpine:v3.20 curl 0 7.74.0-r0
Alpine:v3.21 curl 0 7.74.0-r0
Alpine:v3.22 curl 0 7.74.0-r0
Debian:10 curl 0 7.64.0-4+deb10u2
Debian:11 curl 0 7.74.0-1
Debian:12 curl 0 7.74.0-1
Debian:13 curl 0 7.74.0-1
Debian:14 curl 0 7.74.0-1
Debian:9 curl 0 7.52.1-5+deb9u13
Mageia:7 curl 0 7.71.0-1.1.mga7
Red Hat:enterprise_linux:8::baseos curl 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-debugsource 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-minimal-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-devel 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal-debuginfo 0 0:7.61.1-18.el8
Red Hat:jboss_core_services:1::el7 jbcs-httpd24 0 0:1-18.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr 0 0:1.6.3-105.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-debuginfo 0 0:1.6.3-105.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-devel 0 0:1.6.3-105.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-debuginfo 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-devel 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-ldap 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-mysql 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-nss 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-odbc 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-openssl 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-pgsql 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-sqlite 0 0:1.6.1-82.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-curl 0 0:7.77.0-2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-curl-debuginfo 0 0:7.77.0-2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-debuginfo 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-devel 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-manual 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-selinux 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-tools 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-jansson 0 0:2.11-55.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-jansson-debuginfo 0 0:2.11-55.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-jansson-devel 0 0:2.11-55.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-libcurl 0 0:7.77.0-2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-libcurl-devel 0 0:7.77.0-2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_cluster-native 0 0:1.3.16-5.Final_redhat_2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_cluster-native-debuginfo 0 0:1.3.16-5.Final_redhat_2.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_http2 0 0:1.15.7-17.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_http2-debuginfo 0 0:1.15.7-17.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_jk 0 0:1.2.48-16.redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_jk-ap24 0 0:1.2.48-16.redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_jk-debuginfo 0 0:1.2.48-16.redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_jk-manual 0 0:1.2.48-16.redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ldap 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_md 0 1:2.0.8-36.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_md-debuginfo 0 1:2.0.8-36.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_proxy_html 0 1:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_security 0 0:2.9.2-63.GA.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_security-debuginfo 0 0:2.9.2-63.GA.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_session 0 0:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ssl 0 1:2.4.37-74.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-runtime 0 0:1-18.jbcs.el7
Red Hat:jboss_core_services:1::el8 jbcs-httpd24 0 0:1-18.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr 0 0:1.6.3-105.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-debuginfo 0 0:1.6.3-105.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-devel 0 0:1.6.3-105.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-devel 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-ldap 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-ldap-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-mysql 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-mysql-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-nss 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-nss-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-odbc 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-odbc-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-openssl 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-openssl-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-pgsql 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-pgsql-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-sqlite 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-sqlite-debuginfo 0 0:1.6.1-82.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-brotli 0 0:1.0.6-40.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-brotli-debuginfo 0 0:1.0.6-40.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-brotli-devel 0 0:1.0.6-40.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-curl 0 0:7.77.0-2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-curl-debuginfo 0 0:7.77.0-2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-debuginfo 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-devel 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-manual 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-selinux 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-tools 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-tools-debuginfo 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-jansson 0 0:2.11-55.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-jansson-debuginfo 0 0:2.11-55.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-jansson-devel 0 0:2.11-55.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl 0 0:7.77.0-2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl-debuginfo 0 0:7.77.0-2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl-devel 0 0:7.77.0-2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_cluster-native 0 0:1.3.16-5.Final_redhat_2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_cluster-native-debuginfo 0 0:1.3.16-5.Final_redhat_2.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_http2 0 0:1.15.7-17.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_http2-debuginfo 0 0:1.15.7-17.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_jk 0 0:1.2.48-16.redhat_1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_jk-ap24 0 0:1.2.48-16.redhat_1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_jk-ap24-debuginfo 0 0:1.2.48-16.redhat_1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_jk-manual 0 0:1.2.48-16.redhat_1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ldap 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ldap-debuginfo 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_md 0 1:2.0.8-36.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_md-debuginfo 0 1:2.0.8-36.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_proxy_html 0 1:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_proxy_html-debuginfo 0 1:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_security 0 0:2.9.2-63.GA.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_security-debuginfo 0 0:2.9.2-63.GA.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_session 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_session-debuginfo 0 0:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ssl 0 1:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ssl-debuginfo 0 1:2.4.37-74.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-nghttp2 0 0:1.39.2-37.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-nghttp2-debuginfo 0 0:1.39.2-37.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-nghttp2-devel 0 0:1.39.2-37.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-chil 0 0:1.0.0-5.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-chil-debuginfo 0 0:1.0.0-5.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-debuginfo 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-devel 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-libs 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-libs-debuginfo 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-perl 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-pkcs11 0 0:0.4.10-20.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-pkcs11-debuginfo 0 0:0.4.10-20.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-static 0 1:1.1.1g-6.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-runtime 0 0:1-18.el8jbcs
Rocky Linux:8 curl 0 0:7.61.1-18.el8
SUSE:Linux Enterprise Module for Basesystem 15 SP1 curl 0 7.60.0-3.35.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 curl 0 7.66.0-4.11.1
SUSE:Linux Enterprise Server 11-SECURITY curl-openssl1 0 7.37.0-70.57.1
SUSE:Linux Enterprise Server 12 SP4-LTSS curl 0 7.60.0-4.20.1
SUSE:Linux Enterprise Server 12 SP5 curl 0 7.60.0-11.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 curl 0 7.60.0-4.20.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 curl 0 7.60.0-11.9.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 curl 0 7.60.0-11.9.1
SUSE:OpenStack Cloud 9 curl 0 7.60.0-4.20.1
SUSE:OpenStack Cloud Crowbar 9 curl 0 7.60.0-4.20.1
Ubuntu:14.04:LTS curl 0 7.35.0-1ubuntu2.20+esm6
Ubuntu:16.04:LTS curl 0 7.47.0-1ubuntu2.18
Ubuntu:18.04:LTS curl 0 7.58.0-2ubuntu3.12
Ubuntu:20.04:LTS curl 0 7.68.0-1ubuntu2.4
Ubuntu:Pro:14.04:LTS curl 0 7.35.0-1ubuntu2.20+esm6
openSUSE:Leap 15.1 curl 0 7.60.0-lp151.5.18.1
openSUSE:Leap 15.1 curl-mini 0 7.60.0-lp151.5.18.1
openSUSE:Leap 15.2 curl 0 7.66.0-lp152.3.12.1
openSUSE:Leap 15.2 curl-mini 0 7.66.0-lp152.3.12.1
openSUSE:Tumbleweed curl 0 7.79.1-1.1

Related vulnerabilities