ID CVE-2019-3870
Summary A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10.2. During the creation of a new Samba AD DC, files are created in a private subdirectory of the install location. This directory is typically mode 0700, that is owner (root) only access. However in some upgraded installations it will have other permissions, such as 0755, because this was the default before Samba 4.8. Within this directory, files are created with mode 0666, which is world-writable, including a sample krb5.conf, and the list of DNS names and servicePrincipalName values to update.
References
Vulnerable Configurations
  • cpe:2.3:a:samba:samba:4.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.10.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.10.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.10.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.10.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:-:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:-:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.3:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.3:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.4:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.4:*:*:*:*:*:*:*
  • cpe:2.3:a:samba:samba:4.9.5:*:*:*:*:*:*:*
    cpe:2.3:a:samba:samba:4.9.5:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
  • cpe:2.3:a:synology:directory_server:-:*:*:*:*:*:*:*
    cpe:2.3:a:synology:directory_server:-:*:*:*:*:*:*:*
  • cpe:2.3:a:synology:diskstation_manager:5.2:*:*:*:*:*:*:*
    cpe:2.3:a:synology:diskstation_manager:5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:synology:diskstation_manager:6.1:*:*:*:*:*:*:*
    cpe:2.3:a:synology:diskstation_manager:6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
    cpe:2.3:a:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:synology:router_manager:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:synology:router_manager:1.2:*:*:*:*:*:*:*
  • cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:*
    cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:*
  • cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
    cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:synology:vs960hd_firmware:2.2.3-1505:*:*:*:*:*:*:*
    cpe:2.3:o:synology:vs960hd_firmware:2.2.3-1505:*:*:*:*:*:*:*
  • cpe:2.3:h:synology:vs960hd:-:*:*:*:*:*:*:*
    cpe:2.3:h:synology:vs960hd:-:*:*:*:*:*:*:*
CVSS
Base: 3.6 (as of 19-04-2022 - 15:34)
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
NONE PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:N/I:P/A:P
refmap via4
confirm
fedora
  • FEDORA-2019-cacf88eabf
  • FEDORA-2019-db21b5f1d2
misc
Last major update 19-04-2022 - 15:34
Published 09-04-2019 - 16:29
Last modified 19-04-2022 - 15:34
Back to Top