Skip to content

Write-ups

doctrine-bundle (Symfony package)

Every publicly disclosed report for doctrine-bundle (Symfony package) and what kind of bugs they were.

disclosed reports
2
most reported class
RCE
bug classes found
1

Disclosed reports

Newest first. Only what doctrine-bundle (Symfony package) chose to make public.

RCE

Finding A Pop Chain On A Common Symfony Bundle: Part 2

The article builds a PHP object injection (POP) chain against the widely used doctrine/doctrine-bundle package, chaining a file write through MockFileSessionStorage with a file inclusion through PhpArrayAdapter to achieve remote code execution. An attacker who can pass a crafted serialised string to unserialize() could write a PHP file and then include it, running arbitrary code on the server.

doctrine-bundle (Symfony package)

RCE

Finding A Pop Chain On A Common Symfony Bundle: Part 1

The article analyses the Symfony doctrine-bundle and its dependencies to find a PHP object injection (POP) chain, starting from the __destruct method of the CacheAdapter class. It shows how an attacker who can supply a serialised object could reach file write and arbitrary file include sinks, though the full working chain is deferred to part two.

doctrine-bundle (Symfony package)