Skip to content
RCE Write-up Advanced

PreAuth RCE in Moodle Part I PHP Object Injection in Shibboleth Module

The Shibboleth logout functionality, reachable via SOAP, suffers from a remote code execution vulnerability exploitable by an unauthenticated attacker.

Johannes Moritz Follow

Published on haxolot.com

It was found that the Shibboleth authentication module of Moodle suffers from a beautiful Remote Code Execution vulnerability from the unauthenticated perspective. This is widely used among universities to allow students from one university to authenticate against other universities allowing them to attend external…

The Haxolot'ls, on haxolot.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

Impact

An unauthenticated attacker could achieve remote code execution, though the exact exploitation technique is not detailed.

What the attacker needed

Unauthenticated access; Shibboleth logout SOAP endpoint reachable

How it was found

  1. The Shibboleth logout SOAP function is invoked.

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.

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 Johannes Moritz

View all

1 more disclosed report, best first.

More from Moodle

View all

The newest disclosed reports for this program.

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.