Arbitrary File Write Vulnerability in Archive_Tar By PEAR

Patch nowFull system takeover with local access.
7.8HIGH

CVE-2020-28949

Key Information:

Vendor

PHP

CVE ID
CVE ID:
CVE-2020-28949
Vendor
CVE Published:
19 November 2020

Timeline

Exploit known 644 days after it was published

  • πŸ‘Ύ

    Exploit known to exist

  • πŸ¦…

    CISA Reported

  • 🟑

    Public PoC available

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoC🟣 EPSS 84%πŸ¦… CISA Reported

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • No: No ransomware use seen

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Follow CISA's required action

Apply updates per vendor instructions.

3Look for signs of compromise

It is being exploited in the wild, so check logs on exposed Archive Tar systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • EPSS gives it a 84.5% chance of exploitation in the next 30 days.
  • Its CVSS severity is high (7.8).

What is CVE-2020-28949?

The Archive_Tar library, specifically versions up to 1.4.10, is susceptible to an arbitrary file write vulnerability. The sanitization of filenames is limited, as it primarily addresses PHAR attacks. This oversight allows attackers to exploit other stream-wrappers, such as 'file://', leading to potential unauthorized file overwrites. This vulnerability poses risks to systems utilizing the Archive_Tar library, requiring prompt remediation to prevent exploitation.

CISA has reported CVE-2020-28949

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2020-28949 as being exploited . Neither CISA nor our sources have linked it to ransomware campaigns so far.

The CISA's recommendation is: Apply updates per vendor instructions.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

EPSS Score

84% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.