Skip to content
RCE Write-up Intermediate

Cve 2018 7600 When Drupalgeddon Strikes

Drupal versions before 7.58, 8.3.9, 8.4.6 and 8.5.1 mishandled input validation, letting an unauthenticated attacker send a crafted HTTP request that runs arbitrary PHP code. The text says many such systems remain publicly reachable.

Abhishek Kollur Follow

Published on infosecwriteups.com

Ah, Drupal! The beloved content management system that powers countless websites, from hobbyist blogs to major corporations.

Abhishek Kollur, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper input validation in several Drupal subsystems, which let crafted request data reach code execution without authentication.

Impact

An unauthenticated attacker could execute arbitrary PHP code on a vulnerable Drupal site, and the text notes many such systems are still publicly accessible.

What the attacker needed

Target runs an unpatched Drupal version; no authentication needed

The fix

It should be fixed by upgrading Drupal to a version above 7.58, 8.3.9, 8.4.6 or 8.5.1.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Drupal is software many websites use to build their pages. A flaw in how it checked incoming data meant a stranger on the internet could send a specially shaped request and get the website's server to run code of their choosing, without any login. That is called remote code execution, and it usually means the attacker can take over the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Abhishek Kollur

View all

20 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.