반응형

2026/02 7

Lab: Stored XSS into HTML context with nothing encoded

[문제]This lab contains a stored cross-site scripting vulnerability in the comment functionality.To solve this lab, submit a comment that calls the alert function when the blog post is viewed. [풀이 과정]이 랩에선 댓글 기능의 XSS injection 공격을 이용하여 alert 함수를 실행 하는 것이 목표이다 가장 먼저 아무 게시글이나 들어가 댓글 입력란을 찾아준다 댓글 입력란에 들어가 alert 함수 스크립트를 입력한 후 Post Comment 버튼을 눌러주면 XSS 공격이 실행되게 된다[취약점 분석]서버가 댓글 입력값을 인코딩 처리 없이 DB에 저장한..

PortSwigger_XSS 2026.02.24

Lab: Reflected XSS into HTML context with nothing encoded

[문제]This lab contains a simple reflected cross-site scripting vulnerability in the search functionality.To solve the lab, perform a cross-site scripting attack that calls the alert function.[풀이과정]이 랩은 검색 기능의 Reflected XSS 취약점을 이용하여 alert 함수를 실행하는 것이 목표이다 이 문제는 간단하게 아래의 명령어만 검색 창에 입력해 주면 끝이다 검색창에 명령어를 입력하면 서버가 입력값을 인코딩 없이 HTML에 그대로 삽입하고 브라우저가 이를 JavaScript로 실행한다[취약점 설명]서버가 사용자의 입력값을 인코딩 처리없이 HTM..

PortSwigger_XSS 2026.02.24

Lab: SQL injection vulnerability allowing login bypass

[문제]This lab contains a SQL injection vulnerability in the login function.To solve the lab, perform a SQL injection attack that logs in to the application as the administrator user.[풀이 과정]이 랩은 로그인 폼의 SQL Injection 취약점을 이용해 administrator 계정으로 로그인하는 것이 목표이다흔히 로그인 폼은 인증우회부터 브루트 포스나 로직 취약점 이용 등등 다양한 공격 포인트가 있다여기서 우리는 인증우회(쿼리 자체를 조작해서 비밀번호 없이 로그인)를 이용한 침투를 할 것이다 간단하게 로그인 폼으로 들어가 administrator'--를 입력해..

PortSwigger_SQL 2026.02.24

Lab: SQL injection vulnerability in WHERE clause allowing retrieval of hidden data

[문제]This lab contains a SQL injection vulnerability in the product category filter. When the user selects a category, the application carries out a SQL query like the following:SELECT * FROM products WHERE category = 'Gifts' AND released = 1To solve the lab, perform a SQL injection attack that causes the application to display one or more unreleased products.[풀이]이 랩의 목표는 SQL injection을 활용하여 미출시 ..

PortSwigger_SQL 2026.02.22

Tryhackme | Vulnerability Capstone 챌린지

tryhackme 링크 → https://tryhackme.com/room/vulnerabilitycapstone오늘은 TryHackMe의 Vulnerability Capstone 룸을 풀어보았다[What is the name of the application running on the vulnerable machine?]가장 먼저 열려 있는 포트와 실행되고 있는 서비스를 확인하기 위해 nmap을 실행하였다nmap -p22,80 -A --min-rate 3000 10.48.170.55nmap 스캔 결과 Fuel CMS가 실행 중인 것을 확인 할 수 있다더보기정답: Fuel CMS[What is the version number of this application?]애플리케이션의 버젼 정보는 사이트 페이..

Tryhackme challenge 2026.02.16

Tryhackme | Attacktive Directory 챌린지

tryhackme 링크 → https://tryhackme.com/room/attacktivedirectory오늘은 TryHackMe의 Attacktive Directory 룸을 풀어보았다 [What tool will allow us to enumerate port 139/445?]139는 보통 NetBIOS, 445는 보통 SMB 서비스를 사용하는데 쓴다여기서 NetBIOS는 쉽게 말해 SMB 서비스의 과거 버젼이라 생각하면 된다이 두가지 포트를 열거하기 위해선 enum4linux를 사용하면 된다enum4linux -a 더보기정답: enum4linux[What is the NetBIOS-Domain Name of the machine?]enum4linux 스캔 결과 도메인 이름이 THM-AD 인 것을..

Tryhackme challenge 2026.02.14
반응형