Skip to content
RCE Write-up Intermediate

Tuleap <= 7.6-4 (register.php) PHP Object Injection Vulnerability

The register.php script unserialises user-supplied data from the 'data' parameter without sanitisation. An attacker could exploit this to perform PHP object injection, potentially leading to remote code execution or other impacts.

karmainsecurity.com

Published on karmainsecurity.com

User input passed through the “data” request parameter is not properly sanitized before being used in a call to the unserialize() PHP function at line 39. This can be exploited to inject arbitrary PHP objects into the application scope, and could allow authenticated attackers to execute arbitrary PHP code via…

The author, on karmainsecurity.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 attacker could exploit this to perform PHP object injection, which may lead to remote code execution or other severe consequences.

What the attacker needed

Access to register.php

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.

PHP object injection happens when a program takes user input and turns it into a PHP object without checking it. This can let an attacker create objects that trigger dangerous code when the program later uses them. Here, the 'data' parameter is passed directly to unserialize(), which is unsafe.

What is RCE?

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

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.