강의

멘토링

커뮤니티

Security & Network

/

Computer Security

File Upload Vulnerability Advanced Attack Techniques PART2-1: File Upload Library Analysis and Attack Methodology

The ultimate web hacking! File upload vulnerability attack technique! Part 2 of the 'Part 1' education follows Part 1 and covers more advanced techniques.

(5.0) 5 reviews

235 learners

Level Intermediate

Course period Unlimited

  • crehacktive
Penetration Testing
Penetration Testing
Penetration Testing
Penetration Testing

Reviews from Early Learners

Reviews from Early Learners

5.0

5.0

Bryan

100% enrolled

It would be better if you could provide example files in vulnerable versions so that you can practice right away by setting up a real environment with the course materials. The example files that can be downloaded as course materials are versions with the vulnerabilities removed.

5.0

학습자

10% enrolled

I am taking this great class well. Thank you.

5.0

구운고구마

100% enrolled

I took all of these lectures during the Chuseok holidays. The detailed explanation and practice of the file upload library were good, and my perspective on the Spring Framework changed. I am currently doing mock hacking, and there were many practical exercises that I could apply right away, which was good. Thank you for making such a great lecture.

What you will gain after the course

  • Understanding the Java File Upload Library

  • Potential security threat to Java file upload library

File upload vulnerabilities, advanced techniques!
We deliver the essential information that you won't find anywhere else.

File Upload Vulnerability Attack Lecture
Finally, the last part of the series!

📖 A series of file upload vulnerability attacks explained by a mock hacking practitioner

Expand what you learn in the series

PART(1): Basics / Practical Attacks / Secure Coding

This is a detailed training that covers the attack process of a completely different approach from the existing known methods, which is the most important content in file upload vulnerability attacks. You can learn the basic knowledge of attacks, bypass techniques used in practice, analysis of practice cases, various response measures, and secure coding. This is a mandatory training that serves as the basis for subsequent training.

PART(2) : Advanced Attack Techniques / In-depth Analysis of Practical Current Lecture

This training course teaches advanced attack techniques and Web Application Firewall bypass techniques not covered in PART (1), and analyzes technical techniques used in practical environments through hands-on practice.

SKILL-UP: Webshell obfuscation techniques

In today's web environment, web shell detection solutions are increasingly being used, and accordingly, diagnosticians must have the skills to bypass web shell detection solutions. Therefore, this will be essential training for practitioners.

File Upload Vulnerability Attack Techniques and Practical Case Analysis: PART 2

The final part of our lecture on file upload vulnerabilities!
This lecture is the sequel to the lecture titled 'Part 2', 'File Upload Vulnerability Attack Techniques and Practical Case Analysis by a Simulated Hacking Practitioner: PART 1' .

File Upload Vulnerability Attack Part 2 is divided into three parts , and each topic is as follows.

Part 2-1 Current Lecture

File Upload Library Analysis and Attack Methodology

Part 2-2

Basic knowledge and techniques for bypassing web firewalls

Part 2-3

Attack methodologies in various practical environments

This lecture is Part 1 of Part 2, and covers the topic of 'File Upload Library Analysis and Attack Methodology' .

✅ Differences between File Upload Vulnerability Attack Part 1 and Part 2

  • Part 1 covers the concept of file upload vulnerabilities, how they work, how to attack them, practical examples, and secure coding. (Basic concepts and general theory)
  • Part 2 goes beyond the typical attack mechanisms of file upload vulnerability exploits and looks at various attack methodologies that can occur in specific environments.

Something you can't hear anywhere else
I included it in the lecture!

As of September 2023, there are 18,000+ cumulative students.
I'm listening to the Creative Web Hacking series.

There are many ways to learn web hacking today. Most of the common ones, such as online lecture platforms like Inflearn, offline lectures at academies, and search engines, tend to focus on general content.

But this lecture is different. We are proud to say that it is 'content you can't hear anywhere else!'


File Upload Vulnerability Attack Part 2-1
Check out what you'll learn!

💡 This lecture is Part 1 of Part 2 , and covers 'File Upload Library Analysis and Attack Methodology' .

Upload verification logic known to be safe, but is it really safe?

The source code below is known to be safe from file upload vulnerabilities. So is it really safe?

 ... String path = request.getRealPath("/upload"); MultipartRequest multi = new MultipartRequest(request, path, 1024*10*10, "UTF-8"); Enumeration formNames = multi.getFileNames(); while(formNames.hasMoreElements()) { String param = (String)formNames.nextElement(); String uploadFile = multi.getFilesystemName(param); int extOffset = uploadFile.lastIndexOf("."); String fileExt = uploadFile.substring(extOffset+1).toLowerCase(); if (!fileExt.equals("jpg") && !fileExt.equals("png") && !fileExt.equals("gif")) { File fp = new File(path, uploadFile); fp.delete(); out.println(“ "); return; } } ...<script> alert(‘잘못된 확장자’);history.back(-1);</script> ... String path = request.getRealPath("/upload"); MultipartRequest multi = new MultipartRequest(request, path, 1024*10*10, "UTF-8"); Enumeration formNames = multi.getFileNames(); while(formNames.hasMoreElements()) { String param = (String)formNames.nextElement(); String uploadFile = multi.getFilesystemName(param); int extOffset = uploadFile.lastIndexOf("."); String fileExt = uploadFile.substring(extOffset+1).toLowerCase(); if (!fileExt.equals("jpg") && !fileExt.equals("png") && !fileExt.equals("gif")) { File fp = new File(path, uploadFile); fp.delete(); out.println(“ "); return; } } ...

No , the source code is 'vulnerable' .
Why this code is vulnerable and how to exploit it are covered in detail in lecture Part 2-1.

Want to know more? 📚

Understanding Cases by File Upload Library

We analyze each file upload library, covering potential security threats and different cases that can occur.

Methodology and Practices for Security Threats

We explore potential security threats and practice attacks for a variety of cases.


This is not a lecture that tells you the correct answer.
This is a lecture that will broaden your perspective!

'File Upload Vulnerability Part 2' consists of three lectures to successfully attack file upload vulnerabilities in various environments. However, this is not a lecture that gives you the right answers. Taking this lecture does not mean that you will successfully attack file upload vulnerabilities in all environments.

The goal of this lecture is not to give you the right answer, but to broaden your perspective . If you learn that vulnerabilities can occur in various environments, you will gain the enlightenment of 'Oh, I can try this too!', and furthermore, you will be able to 'know' and analyze various environments in future diagnoses. There is a world of difference between knowing and analyzing this and analyzing without knowing.

I hope that this lecture will give you a solid perspective on web hacking and lay the foundation for taking your skills to a higher level!


Expected Questions Q&A 💬

Q. Is there anything I should know before taking the course?

You must have an understanding of 'File Upload Vulnerability'. Additionally, if you know the content covered in Part 1 , you will be able to take Part 2 smoothly. Of course, if you have a high level of understanding of 'File Upload Vulnerability', you will not have a problem taking the course.

Q. Who is eligible to take the course?

I recommend that 'practitioners' take this course as much as possible. Or, those who have sufficiently studied the theory of web hacking, or those preparing for employment can also take this course.

Q. Do I have to take 'File Upload Vulnerability Attack Part 1' ?

I recommend that you take this course. Even if you understand file upload vulnerabilities, if you do not understand Part 1, there will be parts of Part 2 that you will not understand. Therefore, even if you are a practitioner, I recommend that you take Part 1 first and then Part 2.

Q. Part 2 is divided into 3 parts. Do I have to take them all?

You don't have to take all three. However, if you want to learn attack methodologies for various practical environments, I 'strongly' recommend taking all three.

Q. Should I take Part 2 in the order of Part 3?

You don't have to do that, and you can take the ones you want first. However, since the three lectures were produced in order, it would be better to take them in order.


Things to note before taking the class 📢

We recommend that you take this course with an understanding of web technology and web hacking. We also recommend that you first take the lectures ‘File Download Vulnerability Attack’ and ‘File Upload Vulnerability Attack Part 1’ from Creative’s web hacking lecture series.

Must-see lectures

Recommended for
these people

Who is this course right for?

  • Practitioners who perform simulated hacking or vulnerability diagnostics in the field

  • job seeker

Need to know before starting?

  • web technology

  • Web Hacking Basics

  • File Download Vulnerability Knowledge

  • File Upload Vulnerability Knowledge

Hello
This is

26,931

Learners

1,484

Reviews

508

Answers

4.9

Rating

18

Courses

Hello, this is CreeHacktive.

Based on my years of experience diagnosing and researching various web services, I have been sharing practical, job-ready knowledge through the Inflearn platform.

I also authored Crehacktive's All-in-One Web Hacking Bible, which systematically covers the basics of web hacking. For those who lack foundational knowledge, I recommend starting your studies with this book.

Curriculum

All

31 lectures ∙ (2hr 24min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

5 reviews

5.0

5 reviews

  • wgs041392662님의 프로필 이미지
    wgs041392662

    Reviews 5

    Average Rating 5.0

    5

    32% enrolled

    • lohasworld님의 프로필 이미지
      lohasworld

      Reviews 4

      Average Rating 5.0

      5

      100% enrolled

      • bryan님의 프로필 이미지
        bryan

        Reviews 8

        Average Rating 4.9

        5

        100% enrolled

        It would be better if you could provide example files in vulnerable versions so that you can practice right away by setting up a real environment with the course materials. The example files that can be downloaded as course materials are versions with the vulnerabilities removed.

        • ygchoi7133707님의 프로필 이미지
          ygchoi7133707

          Reviews 10

          Average Rating 5.0

          5

          10% enrolled

          I am taking this great class well. Thank you.

          • rjswn1291님의 프로필 이미지
            rjswn1291

            Reviews 11

            Average Rating 5.0

            5

            100% enrolled

            I took all of these lectures during the Chuseok holidays. The detailed explanation and practice of the file upload library were good, and my perspective on the Spring Framework changed. I am currently doing mock hacking, and there were many practical exercises that I could apply right away, which was good. Thank you for making such a great lecture.

            $34.10

            crehacktive's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!