CVE-2018-7602Drupal Core Remote Code Execution Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
99.2%
99.2% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 13 Apr 2022.
US federal deadline to fix: 4 May 2022.
Ransomware
Official description
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being compromised. This vulnerability is related to Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-002. Both SA-CORE-2018-002 and this vulnerability are being exploited in the wild.
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 13 Apr 2022.
US federal agencies must fix it by 4 May 2022. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Drupal, Debian Linux, Drupal Core and compare its version with the affected versions.
Update to a fixed version
- Update Drupal, Core to 7.59, 8.4.8, 8.5.3 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
- None
- 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:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Drupal Drupal | ≥ 7.0, < 7.59 · ≥ 8.4.0, < 8.4.8 · ≥ 8.5.0, < 8.5.3 |
| Debian Debian Linux | 7.0 · 8.0 · 9.0 |
| Drupal Core | ≥ unspecified, < 7.59 · ≥ unspecified, < 8.5.3 · ≥ unspecified, < 8.4.8 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2018-7602 being exploited?
Yes. CISA added CVE-2018-7602 to its Known Exploited Vulnerabilities catalog on 13 Apr 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2018-7602?
CVE-2018-7602 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Drupal Drupal (≥ 7.0, < 7.59; ≥ 8.4.0, < 8.4.8; ≥ 8.5.0, < 8.5.3), Debian Debian Linux (7.0; 8.0; 9.0), Drupal Core (≥ unspecified, < 7.59; ≥ unspecified, < 8.5.3; ≥ unspecified, < 8.4.8)
Is there a patch for CVE-2018-7602?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.drupal.org/sa-core-2018-004(Patch, Vendor Advisory)
- www.exploit-db.com/exploits/44542/(Exploit, Third Party Advisory, VDB Entry)
- www.exploit-db.com/exploits/44557/(Exploit, Third Party Advisory, VDB Entry)
- www.securityfocus.com/bid/103985(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1040754(Broken Link, Third Party Advisory, VDB Entry)
- lists.debian.org/debian-lts-announce/2018/04/msg00030.html(Mailing List, Third Party Advisory)
- www.debian.org/security/2018/dsa-4180(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.