Skip to content

Conversation

mcdruid
Copy link

@mcdruid mcdruid commented Dec 3, 2024

As discussed with @rhukster this simple change should avoid \Grav\Framework\Cache\Adapter\FileCache::__destruct being abused via Object Injection to achieve Arbitrary File Deletion.

I've used strpos rather than str_starts_with as it looks like Grav supports PHP 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant