Insecure search path in perl5-porters in OpenBSD - CVE-2016-1238

 

Insecure search path in perl5-porters in OpenBSD - CVE-2016-1238

Published: August 10, 2016


Vulnerability identifier: #VU273
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-1238
CWE-ID: CWE-427
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

OpenBSD
Debian Linux
Gentoo Linux
Opensuse
Fedora
perl-Module-Load-Conditional
spamassassin
perl
perl-bootstrap

How to mitigate CVE-2016-1238


perl-Module-Load-Conditional - addressed in versions 0.68-1.fc23, 0.68-1.fc24
spamassassin - addressed in versions 3.4.2-1.fc27, 3.4.2-1.fc28, 3.4.2-1.fc29, 3.4.2-2.fc27, 3.4.2-2.fc28, 3.4.2-2.fc29
perl - addressed in versions 5.22.2-354.fc23, 5.22.2-362.fc24
perl-bootstrap - update to 5.32-3320210810075712.601d93de

External References

Related Security Bulletins