Skip to content

CVE-2020-28463 Server-side Request Forgery (SSRF)

MediumCVSS 6.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

All versions of package reportlab are vulnerable to Server-side Request Forgery (SSRF) via img tags. In order to reduce risk, use trustedSchemes & trustedHosts (see in Reportlab's documentation) Steps to reproduce by Karan Bamal: 1. Download and install the latest package of reportlab 2. Go to demos -> odyssey -> dodyssey 3. In the text file odyssey.txt that needs to be converted to pdf inject <img src="http://127.0.0.1:5000" valign="top"/> 4. Create a nc listener nc -lp 5000 5. Run python3 dodyssey.py 6. You will get a hit on your nc showing we have successfully proceded to send a server side request 7. dodyssey.py will show error since there is no img file on the url, but we are able to do SSRF

Affected products

ProductAffected versionsFixed in
pypi reportlab(PyPI) < 3.5.55 3.5.55
pypi reportlab(PyPI) = 2.0 No fix listed
pypi reportlab(PyPI) = 2.3 No fix listed
pypi reportlab(PyPI) = 2.4 No fix listed
pypi reportlab(PyPI) = 2.5 No fix listed
pypi reportlab(PyPI) = 2.6 No fix listed
pypi reportlab(PyPI) = 2.7 No fix listed
pypi reportlab(PyPI) = 3.0 No fix listed
pypi reportlab(PyPI) = 3.1.44 No fix listed
pypi reportlab(PyPI) = 3.1.8 No fix listed
pypi reportlab(PyPI) = 3.2.0 No fix listed
pypi reportlab(PyPI) = 3.3.0 No fix listed
pypi reportlab(PyPI) = 3.4.0 No fix listed
pypi reportlab(PyPI) = 3.5.0 No fix listed
pypi reportlab(PyPI) = 3.5.1 No fix listed
pypi reportlab(PyPI) = 3.5.10 No fix listed
pypi reportlab(PyPI) = 3.5.11 No fix listed
pypi reportlab(PyPI) = 3.5.12 No fix listed
pypi reportlab(PyPI) = 3.5.13 No fix listed
pypi reportlab(PyPI) = 3.5.16 No fix listed
pypi reportlab(PyPI) = 3.5.17 No fix listed
pypi reportlab(PyPI) = 3.5.18 No fix listed
pypi reportlab(PyPI) = 3.5.19 No fix listed
pypi reportlab(PyPI) = 3.5.2 No fix listed
pypi reportlab(PyPI) = 3.5.20 No fix listed
Show 48 more
ProductAffected versionsFixed in
pypi reportlab(PyPI) = 3.5.21 No fix listed
pypi reportlab(PyPI) = 3.5.23 No fix listed
pypi reportlab(PyPI) = 3.5.26 No fix listed
pypi reportlab(PyPI) = 3.5.28 No fix listed
pypi reportlab(PyPI) = 3.5.31 No fix listed
pypi reportlab(PyPI) = 3.5.32 No fix listed
pypi reportlab(PyPI) = 3.5.34 No fix listed
pypi reportlab(PyPI) = 3.5.4 No fix listed
pypi reportlab(PyPI) = 3.5.42 No fix listed
pypi reportlab(PyPI) = 3.5.44 No fix listed
pypi reportlab(PyPI) = 3.5.45 No fix listed
pypi reportlab(PyPI) = 3.5.46 No fix listed
pypi reportlab(PyPI) = 3.5.47 No fix listed
pypi reportlab(PyPI) = 3.5.48 No fix listed
pypi reportlab(PyPI) = 3.5.49 No fix listed
pypi reportlab(PyPI) = 3.5.5 No fix listed
pypi reportlab(PyPI) = 3.5.50 No fix listed
pypi reportlab(PyPI) = 3.5.51 No fix listed
pypi reportlab(PyPI) = 3.5.52 No fix listed
pypi reportlab(PyPI) = 3.5.53 No fix listed
pypi reportlab(PyPI) = 3.5.54 No fix listed
pypi reportlab(PyPI) = 3.5.6 No fix listed
pypi reportlab(PyPI) = 3.5.8 No fix listed
pypi reportlab(PyPI) = 3.5.9 No fix listed
debian/python-reportlab(Debian:12) < 3.5.55-1 3.5.55-1
debian/python-reportlab(Debian:13) < 3.5.55-1 3.5.55-1
debian/python-reportlab(Debian:14) < 3.5.55-1 3.5.55-1
reportlab All versions No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) All versions No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.2.0-1build1 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.2.0-1build2 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.3.0-1 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.3.0-1ubuntu0.1 No fix listed
ubuntu/python-reportlab(Ubuntu:18.04) All versions No fix listed
ubuntu/python-reportlab(Ubuntu:18.04) = 3.4.0-3build1 No fix listed
ubuntu/python-reportlab(Ubuntu:18.04) = 3.4.0-3ubuntu0.1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) All versions No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.23-1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.28-1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.31-1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.31-1.1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.31-1.1ubuntu1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.34-1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.34-1build1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.34-1ubuntu1 No fix listed
ubuntu/python-reportlab(Ubuntu:20.04) = 3.5.34-1ubuntu1.1 No fix listed

References