PAN-OS: Predictable temporary filename vulnerability allows local privilege escalation Fix available

CVE-2020-1981

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
Palo Alto Networks, Inc. (opens in new tab)
Published
Last modified
NVD status
Modified
CVSS 3.17.8High

Description

A predictable temporary filename vulnerability in PAN-OS allows local privilege escalation. This issue allows a local attacker who bypassed the restricted shell to execute commands as a low privileged user and gain root access on the PAN-OS hardware or virtual appliance. This issue affects only PAN-OS 8.1 versions earlier than PAN-OS 8.1.13. This issue does not affect PAN-OS 7.1, PAN-OS 9.0, or later PAN-OS versions.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
0.362%
Compared with other CVEs
At or above 30.665% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
Palo Alto NetworksPAN-OS
  • 8.1 < 8.1.13
  • 8.1 !>= 8.1.13
  • 9.0 !>= 9.0.0
  • 7.1 !>= 7.1.0
  • 9.1 !>= 9.1.0

How to fix the vulnerability, or reduce the risk until you can.

Solutions

From Palo Alto Networks, Inc., which published this CVE.

This issue is fixed in PAN-OS 8.1.13 and all later PAN-OS 8.1 versions.

Workarounds

From Palo Alto Networks, Inc., which published this CVE.

This issue affects the management interface of PAN-OS and is mitigated by following best practices for securing the PAN-OS management interface. Our best practices guidelines reduce the exposure of the management interface to potential attackers. Please review the Best Practices for Securing Administrative Access in the PAN-OS 8.1 technical documentation, available at: https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-admin/getting-started/best-practices-for-securing-administrative-access.

Patches, advisories and mitigations

Tagged by NVD.

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 7.8 HighCVSS 3.1 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    Low
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    High
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HView in FIRST's calculator (opens in new tab)

  • 7 HighCVSS 3.1 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by Palo Alto Networks, Inc. (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    High
    Privileges requiredThe access the attacker needs before attacking.
    Low
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    High
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HView in FIRST's calculator (opens in new tab)

  • 7.2 HighCVSS 2.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    AuthenticationHow many times the attacker has to sign in.
    None
    ConfidentialityHow much data the attacker can read.
    Complete
    IntegrityHow much data the attacker can change.
    Complete
    AvailabilityHow much the attacker can disrupt the system or service.
    Complete

    AV:L/AC:L/Au:N/C:C/I:C/A:CView in NVD's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • DEPRECATED: Insecure Temporary File · CWE-377 (opens in new tab)

    This entry has been deprecated. It was focused only on the affected resource (temporary file) and not the behavior or mistake that produced the insecure temporary file, which caused confusion and incorrect mappings.

    Abstraction
    Class
    Mapping guidance
    Prohibited
  • Exposure of Resource to Wrong Sphere · CWE-668 (opens in new tab)

    The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

    Abstraction
    Class
    Mapping guidance
    Discouraged
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data