Advanced Web Attacks and Exploitation: Offensive Security
Advanced Web Attacks and Exploitation: Offensive Security
Offensive Security
All rights reserved. No part of this publication, in whole or in part, may be reproduced,
copied, transferred or any other right reserved to its copyright owner, including
photocopying and all other copying, any transfer or transmission using any network or
other means of communication, any broadcast for distant learning, in any form or by any
means such as any information storage, transmission or retrieval system, without prior
written permission from the author.
Table of Contents
1 Introduction
1.1 About the AWAE Course
1.1.2 OSWE Exam Attempt
1.2 Our Approach
1.3 Obtaining Support
1.4 Offensive Security AWAE Labs
1.4.1 General Information
1.4.2 Lab Restrictions
1.4.3 Forewarning and Lab Behavior
1.4.4 Control Panel
1.5 Reporting
1.6 Backups
1.7 About the OSWE Exam
1.8 Wrapping Up
2 Tools & Methodologies
2.1 Web Traffic Inspection
2.1.1 Burp Suite Proxy
2.1.2 Using Burp Suite with Other Browsers
2.1.3 Burp Suite Scope
2.1.4 Burp Suite Repeater and Comparer
2.1.5 Burp Suite Decoder
2.2 Interacting with Web Listeners using Python
2.3 Source Code Recovery
2.3.1 Managed .NET Code
2.3.2 Decompiling Java Classes
2.4 Source Code Analysis Methodology
2.4.1 An Approach to Analysis
2.4.2 Using an IDE
2.4.3 Common HTTP Routing Patterns
2.4.4 Analyzing Source Code for Vulnerabilities
2.5 Debugging
2.5.1 Remote Debugging
2.6 Wrapping Up
3 ATutor Authentication Bypass and RCE
12.8 Wrapping Up
13 Guacamole Lite Prototype Pollution
13.1 Getting Started
13.1.2 Understanding the Code
13.1.3 Configuring Remote Debugging
13.2 Introduction to JavaScript Prototype
13.2.2 Prototype Pollution
13.2.3 Blackbox Discovery
13.2.4 Whitebox Discovery
13.3 Prototype Pollution Exploitation
13.4 EJS
13.4.1 EJS - Proof of Concept
13.4.2 EJS - Remote Code Execution
13.5 Handlebars
13.5.1 Handlebars - Proof of Concept
13.5.2 Handlebars - Remote Code Execution
13.6 Wrapping Up
14 Conclusion
14.1 The Journey So Far
14.2 Exercises and Extra Miles
14.3 The Road Goes Ever On
14.4 Wrapping Up