Skip to content

[SECURITY] mirth.properties and keystore.jks are readable to other users on server #307

@mgaffigan

Description

@mgaffigan

Describe the security issue
If a server/container is not dedicated to the engine, attackers may be able to read mirth.properties and keystore.jks, which can allow escalation of privilege or loss of nonrepudiation through misuse of database and ssl secrets.

Suggested remediation
Have the installer and server application set 600-equivalent privileges on the mirth.properties and keystore.jks files.

Workaround
Posix:

chmod 600 mirth.properties
chmod 600 keystore.jks

Windows:
Edit NTFS permissions on the files to:

  1. Remove read access to BUILTIN\Users
  2. Add Full Control to NT Service\Open Integration Engine

Scoring
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 5.5

Thanks to
Guus Verbeek and DIVD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions