PT-2020-3499 · Open Iscsi+3 · Open-Iscsi+3
Published
2020-06-19
·
Updated
2022-05-24
·
CVE-2020-14019
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Open-iSCSI rtslib-fb versions 2.1.72 and earlier
Description
The issue is related to weak permissions for the /etc/target/saveconfig.json file due to the use of shutil.copyfile instead of shutil.copy, resulting in permissions not being preserved. This could potentially allow an attacker to execute arbitrary code by sending specially crafted data to the application.
Recommendations
For Open-iSCSI rtslib-fb versions 2.1.72 and earlier, consider updating to a version where the issue is fixed, or as a temporary workaround, manually correct the permissions of the /etc/target/saveconfig.json file to prevent exploitation. Additionally, restrict access to the /etc/target/saveconfig.json file to minimize the risk of exploitation.
Fix
Incorrect Default Permissions
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Centos
Open-Iscsi
Red Hat
Suse