ID CVE-2020-13867
Summary Open-iSCSI targetcli-fb through 2.1.52 has weak permissions for /etc/target (and for the backup directory and backup files).
References
Vulnerable Configurations
  • cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.50:*:*:*:*:*:*:*
    cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.50:*:*:*:*:*:*:*
  • cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.51:*:*:*:*:*:*:*
    cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.51:*:*:*:*:*:*:*
  • cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.52:*:*:*:*:*:*:*
    cpe:2.3:a:targetcli-fb_project:targetcli-fb:2.1.52:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
CVSS
Base: 2.1 (as of 01-03-2023 - 16:48)
Impact:
Exploitability:
CWE CWE-276
CAPEC
  • Web Logs Tampering
    Web Logs Tampering attacks involve an attacker injecting, deleting or otherwise tampering with the contents of web logs typically for the purposes of masking other malicious behavior. Additionally, writing malicious data to log files may target jobs, filters, reports, and other agents that process the logs in an asynchronous attack pattern. This pattern of attack is similar to "Log Injection-Tampering-Forging" except that in this case, the attack is targeting the logs of the web server and not the application.
  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.
  • Directory Indexing
    An adversary crafts a request to a target that results in the target listing/indexing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An adversary can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, backup files, temporary files, hidden files, configuration files, user accounts, script contents, as well as naming conventions, all of which can be used by an attacker to mount additional attacks.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:N/A:N
redhat via4
advisories
  • bugzilla
    id 1848143
    title CVE-2020-13867 targetcli: weak permissions for /etc/target and backup files
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 8 is installed
        oval oval:com.redhat.rhba:tst:20193384074
      • comment targetcli is earlier than 0:2.1.53-1.el8
        oval oval:com.redhat.rhsa:tst:20204697001
      • comment targetcli is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20201933002
    rhsa
    id RHSA-2020:4697
    released 2020-11-04
    severity Moderate
    title RHSA-2020:4697: targetcli security and enhancement update (Moderate)
  • bugzilla
    id 1848143
    title CVE-2020-13867 targetcli: weak permissions for /etc/target and backup files
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 7 is installed
        oval oval:com.redhat.rhba:tst:20150364027
      • comment targetcli is earlier than 0:2.1.53-1.el7_9
        oval oval:com.redhat.rhsa:tst:20205434001
      • comment targetcli is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20201933002
    rhsa
    id RHSA-2020:5434
    released 2020-12-15
    severity Moderate
    title RHSA-2020:5434: targetcli security update (Moderate)
rpms
  • targetcli-0:2.1.53-1.el8
  • targetcli-0:2.1.53-1.el7_9
refmap via4
fedora FEDORA-2020-83d2616f81
gentoo GLSA-202008-22
misc https://github.com/open-iscsi/targetcli-fb/pull/172
suse
  • openSUSE-SU-2020:1141
  • openSUSE-SU-2020:1144
Last major update 01-03-2023 - 16:48
Published 05-06-2020 - 18:15
Last modified 01-03-2023 - 16:48
Back to Top