Name | CVE-2020-28463 |
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 |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3590-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-reportlab (PTS) | bullseye | 3.5.59-2 | fixed |
| bullseye (security) | 3.5.59-2+deb11u1 | fixed |
| bookworm, bookworm (security) | 3.6.12-1+deb12u1 | fixed |
| sid, trixie | 4.2.5-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - python-reportlab <postponed> (Can be fixed in next DLA)
https://snyk.io/vuln/SNYK-PYTHON-REPORTLAB-1022145
Fixed by: https://hg.reportlab.com/hg-public/reportlab/rev/7f2231703dc7
Starting in 3.5.55 trustedSchemes and trustedHosts rl_config variables are introduced
which can be used to mitigate the issue, treating this as the fixed version