.. / CVE-2018-7602

Exploit for Drupal - Remote Code Execution (CVE-2018-7602)

Description:

Drupal 7.x and 8.x contain a remote code execution vulnerability that exists within multiple subsystems. 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.

Proof of Concept

PoC exploit

Nuclei Template

View the template here CVE-2018-7602.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2018/CVE-2018-7602.yaml
Copy

Try the exploit in a lab environment:

Lab Machine Link
Hack The Box Bastard Go to Practice

References:

https://github.com/vulhub/vulhub/blob/master/drupal/CVE-2018-7602/drupa7-CVE-2018-7602.py
https://www.drupal.org/sa-core-2018-004
http://www.securitytracker.com/id/1040754
https://www.exploit-db.com/exploits/44557/
https://nvd.nist.gov/vuln/detail/CVE-2018-7602