CVE-2016-1238

HIGH

Perl 5.x < 5.22.3-RC2 and 5.24 < 5.24.1-RC2 - Privilege Escalation via Trojan Horse Module in Current Working Directory

Title source: llm
STIX 2.1

Description

(1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4) cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7) cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10) cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails, (13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18) utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL, (23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

References (15)

Core 15
Core References
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201701-75
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201812-07
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1036440
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2016/dsa-3628
Third Party Advisory mailing-list x_refsource_mlist
http://www.nntp.perl.org/group/perl.perl5.porters/2016/07/msg238271.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/92136
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/11/msg00016.html
Permissions Required x_refsource_confirm
https://rt.perl.org/Public/Bug/Display.html?id=127834
Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00002.html

Scores

CVSS v3 7.8
EPSS 0.0032
EPSS Percentile 54.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-264
Status published
Products (50)
apache/spamassassin < 3.4.2
debian/debian_linux 8.0
fedoraproject/fedora 23
fedoraproject/fedora 24
opensuse/leap 15.0
perl/perl 1.0.15
perl/perl 1.0.16
perl/perl 5.000
perl/perl 5.000o
perl/perl 5.001
... and 40 more
Published Aug 02, 2016
Tracked Since Feb 18, 2026