Vigil@nce - Perl DBD-mysql: use after free via my_login
September 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can force the usage of a freed memory area via
my_login() of Perl DBD::mysql, in order to trigger a denial of
service, and possibly to run code.
Impacted products: Debian, Fedora, Perl Module not comprehensive.
Severity: 2/4.
Creation date: 26/07/2016.
DESCRIPTION OF THE VULNERABILITY
The DBD::mysql module can be installed on Perl, to access to a
MySQL database.
However, the my_login() function frees a memory area before
dbd_db_login() reuses it during an error processing.
An attacker can therefore force the usage of a freed memory area
via my_login() of Perl DBD::mysql, in order to trigger a denial of
service, and possibly to run code.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
https://vigilance.fr/vulnerability/Perl-DBD-mysql-use-after-free-via-my-login-20217