Perl 5 MySQL Interface Vulnerability
This content has been archived
This article no longer conforms to NHS Digital's standards for cyber alerts, and may contain outdated or inaccurate information. Use of this information contained in this page is at your own risk
Summary
Threat details
DBD::mysql allows an application written in the Perl programming language to easily integrate with a MySQL database.
The flaw is found within the encryption configuration. Secure Socket Layer (SSL) was expected to be enforced for connections to the database, however, SSL was found to be optional and therefore connection to the database could be completed without encryption in place. The unencrypted connection leaves the data vulnerable to a Man in the Middle (MitM) attack.
BACKRONYM and Riddle are two previously discovered vulnerabilities mentioned which could be used in this instance.
BACKRONYM: A MitM attacker intercepts the connection and downgrades the data into clear text. The data can be either collected or edited.
Riddle: A MitM attacker intercepts the login credentials of a user connecting to the server in clear text. The attacker would then be able to log in to the server with the same privileges as that user.
This threat can be easily mitigated due to the availability of patches, and also by using the principle of least privilege and ensuring data is regularly backed-up.
Remediation steps
| Type | Step |
|---|---|
|
Last edited: 17 February 2020 11:37 am