CVE-2020-13671Drupal core Un-restricted Upload of File
CVSS score
8.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
32.6%
32.6% chance of exploitation in the next 30 days, higher than 98.4% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 18 Jan 2022.
US federal deadline to fix: 18 Jul 2022.
Official description
Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.
Source: NVD · CNA: mlhess@drupal.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 18 Jan 2022.
US federal agencies must fix it by 18 Jul 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Drupal, fedoraproject Fedora, Drupal Core and compare its version with the affected versions.
Update to a fixed version
- Update Drupal to 7.74, 8.8.11, 8.9.9, 9.0.8 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Drupal Drupal | ≥ 7.0, < 7.74 · ≥ 8.8.0, < 8.8.11 · ≥ 8.9.0, < 8.9.9 · ≥ 9.0.0, < 9.0.8 |
| fedoraproject Fedora | 32 · 33 |
| Drupal Drupal Core | 9.0 versions prior to 9.0.8 · 8.9 versions prior to 8.9.9 · 8.8 versions prior to 8.8.11 · 7 versions prior to 7.74 |
Weakness
- CWE-434 unrestricted file upload
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2020-13671 being exploited?
Yes. CISA added CVE-2020-13671 to its Known Exploited Vulnerabilities catalog on 18 Jan 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 32.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2020-13671?
CVE-2020-13671 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Drupal Drupal (≥ 7.0, < 7.74; ≥ 8.8.0, < 8.8.11; ≥ 8.9.0, < 8.9.9; ≥ 9.0.0, < 9.0.8), Fedoraproject Fedora (32; 33), Drupal Drupal Core (9.0 versions prior to 9.0.8; 8.9 versions prior to 8.9.9; 8.8 versions prior to 8.8.11; 7 versions prior to 7.74)
Is there a patch for CVE-2020-13671?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.drupal.org/sa-core-2020-012(Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/(Mailing List, Release Notes)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/(Mailing List, Release Notes)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.