File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
documentation/modules/auxiliary/scanner/http Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
** Feature description:**
2
2
3
- This adds a module for the WordPress 4.7/ 4.7.1
3
+ This adds a module for the WordPress [ 4.7] ( https://wordpress.org/wordpress- 4.7.tar.gz ) / [ 4.7.1 ] ( https://wordpress.org/wordpress-4.7.1.tar.gz )
4
4
content injection vulnerability detailed at
5
5
https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html .
6
6
7
7
** Verification steps:**
8
8
9
9
- [ ] Download https://wordpress.org/wordpress-4.7.1.tar.gz
10
10
- [ ] ` tar xf wordpress-4.7.1.tar.gz -C /var/www/html --no-same-owner `
11
- - [ ] Ensure the install dir is not writable by the web user (prevents autoupdating)
12
- - [ ] Install the sucker
11
+ - [ ] Prevent auto-update with either:
12
+ 1 . [ ] Ensure the install dir is not writable by the web user
13
+ 2 . [ ] Add the following to ` wp_config.php ` (after install)
14
+ ```
15
+ define( 'WP_AUTO_UPDATE_CORE', false );
16
+ define( 'AUTOMATIC_UPDATER_DISABLED', true );
17
+ ```
18
+ - [ ] Install Wordpress
19
+ - [ ] Start `msfconsole`
20
+ - [ ] `use auxiliary/scanner/http/wordpress_content_injection`
21
+ - [ ] Set `rhost`, `rport` and `TARGETURI`
13
22
- [ ] Set `ACTION` to either `LIST` or `UPDATE`
14
23
- [ ] Set `POST_ID` and `POST_TITLE`, `POST_CONTENT`, and/or `POST_PASSWORD`
15
24
- [ ] Run the module
16
- - [ ] ~~ Add your defacement to Zone-H~~ jk
17
25
18
26
**Sample run:**
19
27
You can’t perform that action at this time.
0 commit comments