ReportLab up to 3.5.26 colors.py toColor XML Document xml injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ReportLab up to 3.5.26. It has been classified as critical. This affects the function toColor of the file colors.py. The manipulation with the input <span color=" as part of XML Document leads to xml injection.
This vulnerability is traded as CVE-2019-17626. It is possible to initiate the attack remotely. There is no exploit available.
Details
A vulnerability was found in ReportLab up to 3.5.26 (Reporting Software) and classified as critical. This issue affects the function toColor of the file colors.py. The manipulation with the input value <span color=" leads to a xml injection vulnerability. Using CWE to declare the problem leads to CWE-91. The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.
The weakness was shared 10/16/2019. The identification of this vulnerability is CVE-2019-17626 since 10/16/2019. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 236756 (Alibaba Cloud Linux 3 : 0130: python-reportlab (ALINUX3-SA-2023:0130)), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (236756). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 3.5.0
- 3.5.1
- 3.5.2
- 3.5.3
- 3.5.4
- 3.5.5
- 3.5.6
- 3.5.7
- 3.5.8
- 3.5.9
- 3.5.10
- 3.5.11
- 3.5.12
- 3.5.13
- 3.5.14
- 3.5.15
- 3.5.16
- 3.5.17
- 3.5.18
- 3.5.19
- 3.5.20
- 3.5.21
- 3.5.22
- 3.5.23
- 3.5.24
- 3.5.25
- 3.5.26
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 9.8
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Xml injectionCWE: CWE-91 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236756
Nessus Name: Alibaba Cloud Linux 3 : 0130: python-reportlab (ALINUX3-SA-2023:0130)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
10/16/2019 🔍10/16/2019 🔍
10/16/2019 🔍
05/15/2025 🔍
Sources
Advisory: RHSA-2020:0195Status: Not defined
CVE: CVE-2019-17626 (🔍)
GCVE (CVE): GCVE-0-2019-17626
GCVE (VulDB): GCVE-100-143519
Entry
Created: 10/16/2019 18:12Updated: 05/15/2025 17:14
Changes: 10/16/2019 18:12 (37), 10/16/2019 18:17 (18), 01/09/2024 08:18 (4), 07/19/2024 16:51 (15), 08/01/2024 16:05 (11), 05/15/2025 17:14 (2)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.