Giter Site home page Giter Site logo

network-security's Introduction

Network-Security

Network Security

Project 7 - WordPress Pentesting

Time spent: X hours spent in total

Objective: Find, analyze, recreate, and document five vulnerabilities affecting an old version of WordPress

Pentesting Report

  1. (Required) Authenticated Shortcode Tags Cross-Site Scripting (XSS)
  • Summary: Vulnerable to a cross-site scripting vulnerability when processing shortcode tags. Inserting a caption in a post/page with the javascript works.
    • Vulnerability types: XSS
    • Tested in version: 4.2
    • Fixed in version: 4.2.5
  • GIF Walkthrough: xss2
  • Steps to recreate: Create a post or page. Click on text instead of visual and insert a caption with the XSS attack. I used an alert. TEST!!![caption width="1" caption='<a href="' ">]<a href="http://onMouseOver='alert(2)'">Click me</a>
  • Affected source code: screen shot 2018-04-01 at 10 15 10 am
  1. (Required) Unauthenticated Stored XSS
  • Summary: Created a cross site scripting attack using a window alert in the comments section.

    • Vulnerability types: XSS
    • Tested in version: 4.2
    • Fixed in version: 4.2.1
  • GIF Walkthrough: xss

  • Steps to recreate: Post a reply on one of the pages. Insert javascript for alert: <a title='x onmouseover=alert(unescape(/hello%20world/.source)) style=position:absolute;left:0;top:0;width:5000px;height:5000px AAAAAAAAAAAA...[64 kb]..AAA'></a> and make sure message is bigger than 64kb. Then when submitted, an alert box should appear.

  • Affected source code:

  1. (Required) Authenticated Cross-Site Scripting (XSS) via Media File Metadata
  • Summary: XSS vulnerability when uploading audio files. Attacker can upload malicious mp3 files which can be executed when you create an audio playlist. Meta information in audio files are not properly sanitized.
    • Vulnerability types: XSS
    • Tested in version: 4.2
    • Fixed in version: 4.2.13
  • GIF Walkthrough: xss3
  • Steps to recreate: Upload the malicious mp3 file into media. Then create an audio playlist with the malicious file. Insert the audio playlist into a post/page.
  • Affected source code:
  1. (Optional) Vulnerability Name or ID
  • Summary:
    • Vulnerability types:
    • Tested in version:
    • Fixed in version:
  • GIF Walkthrough:
  • Steps to recreate:
  • Affected source code:
  1. (Optional) Vulnerability Name or ID
  • Summary:
    • Vulnerability types:
    • Tested in version:
    • Fixed in version:
  • GIF Walkthrough:
  • Steps to recreate:
  • Affected source code:

Assets

List any additional assets, such as scripts or files

Resources

GIFs created with LiceCap.

Notes

Describe any challenges encountered while doing the work

License

Copyright [yyyy] [name of copyright owner]

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.

network-security's People

Contributors

sjl5bz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.