Insecure search path in perl5-porters in OpenBSD - CVE-2016-1238
Published: August 10, 2016
OpenBSD
Detailed vulnerability description
The vulnerability allows a local user to potentially elevate privileges.
The vulnerability exists due to Perl 5 module loads modules from the includes directory array ("@INC") in which the last element is the current directory ("."). A local attacker can place specially crafted modules into world-writable directory and trick the victim to run arbitrary script from this directory.
Successful exploitation of this vulnerability may allow a local attacker to obtain elevated privileges on the system.
How to mitigate CVE-2016-1238
http://ftp.openbsd.org/pub/OpenBSD/patches/5.8/common/027_perl.patch.sig
http://ftp.openbsd.org/pub/OpenBSD/patches/5.9/common/024_perl.patch.sig