Back to CVE catalog
CVE-2016-1238

Privilege escalation in Perl via improper removal of periods

Multiple products

At a glance

(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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

7.8High
Published:
Updated:
EPSS:
0.779%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ApachespamassassinAffected versions:
< 3.4.2
Vendor:perlperlAffected versions:
1.0.15Show full version range for perl
1.0.165.0005.000o5.0015.001n5.0025.002_015.0035.003_015.003_025.003_035.003_045.003_055.003_075.003_085.003_095.003_105.003_115.003_125.003_135.003_145.003_155.003_165.003_175.003_185.003_195.003_205.003_215.003_225.003_235.003_245.003_255.003_265.003_275.003_285.003_905.003_915.003_925.003_935.003_945.003_955.003_965.003_975.003_97a5.003_97b5.003_97c5.003_97d5.003_97e5.003_97f5.003_97g5.003_97h5.003_97i5.003_97j5.003_985.003_995.003_99a5.0045.004_015.004_025.004_035.004_045.004_055.0055.005_015.005_025.005_035.005_045.105.10.05.10.15.11.05.11.15.11.25.11.35.11.45.11.55.12.05.12.15.12.25.12.35.12.45.12.55.13.05.13.15.13.105.13.115.13.25.13.35.13.45.13.55.13.65.13.75.13.85.13.95.14.05.14.15.14.25.14.35.14.45.15.05.15.15.15.25.15.35.15.45.15.55.15.65.15.75.15.85.15.95.16.05.16.15.16.25.16.35.17.05.17.15.17.105.17.115.17.25.17.35.17.45.17.55.17.65.17.75.17.7.05.17.85.17.95.18.05.18.15.18.25.18.35.18.45.19.05.19.15.19.105.19.115.19.25.19.35.19.45.19.55.19.65.19.75.19.85.19.95.20.05.20.15.20.25.20.35.21.05.21.15.21.105.21.115.21.25.21.35.21.45.21.55.21.65.21.75.21.85.21.95.22.05.22.15.22.25.22.35.24.05.24.15.65.6.05.6.15.6.25.7.35.85.8.05.8.15.8.25.8.35.8.45.8.55.8.65.8.75.8.85.8.95.9.05.9.15.9.25.9.35.9.45.9.5
Vendor:Debiandebian linuxAffected versions:
8.0
Vendor:FedorafedoraAffected versions:
23Show full version range for fedora
24
Vendor:opensuseleapAffected versions:
15.0
Vendor:redhatperl
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for perl
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatperl-Archive-Extract
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for perl-Archive-Extract
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatperl-Archive-Tar
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for perl-Archive-Tar
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatperl-CGI
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for perl-CGI
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatperl-CPAN
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for perl-CPAN
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 174 · Page 1 of 18

CVSS scores and metrics12
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE-2016-1238 · OSV (source-vector)7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
canonical · Wazuh CTI (adp)7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd · Wazuh CTI (cna)7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat · Wazuh CTI (adp)6.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
suse · Wazuh CTI (adp)6.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)6.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
SUSE · SUSE VEX (adp)6.7 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
redhat · Wazuh CTI (adp)6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
Red Hat · Red Hat VEX (adp)6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories69

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences