#VU13111 Man-in-the-middle attack in dbd-mysql - CVE-2017-10789


Vulnerability identifier: #VU13111

Vulnerability risk: Low

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2017-10789

CWE-ID: CWE-300

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
dbd-mysql
Web applications / Modules and components for CMS

Vendor: CPAN

Description
The vulnerability allows a remote attacker to conduct man-in-the-middle attack on the target system.

The vulnerability exists due to use of the mysql_ssl=1 setting to mean that SSL is optional (even though this setting's documentation has a "your communication with the server will be encrypted" statement). A remote attacker can conduct man-in-the-middle attack, intercept of the communication channel between the affected app and spoof servers via a cleartext-downgrade attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

dbd-mysql: 4.001 - 4.043


External links
https://github.com/perl5-dbi/DBD-mysql/issues/140


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability